ports: src/e2fsprogs-minimal noux package
This commit is contained in:
parent
1053d78201
commit
0253cdd50c
9
repos/ports/recipes/src/e2fsprogs-minimal/content.mk
Normal file
9
repos/ports/recipes/src/e2fsprogs-minimal/content.mk
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# keep 'e2fsprogs/target.inc' but not 'e2fsprogs/target.mk'
|
||||||
|
E2FSPROGS_SRC := src/noux-pkg/e2fsprogs/target.inc
|
||||||
|
|
||||||
|
include $(REP_DIR)/recipes/src/e2fsprogs/content.mk
|
||||||
|
|
||||||
|
content: src/noux-pkg/e2fsprogs-minimal
|
||||||
|
|
||||||
|
src/noux-pkg/e2fsprogs-minimal:
|
||||||
|
$(mirror_from_rep_dir)
|
1
repos/ports/recipes/src/e2fsprogs-minimal/hash
Normal file
1
repos/ports/recipes/src/e2fsprogs-minimal/hash
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2018-02-14 de4fcd36004199209df12ae694fe9173c63ad38b
|
3
repos/ports/recipes/src/e2fsprogs-minimal/used_apis
Normal file
3
repos/ports/recipes/src/e2fsprogs-minimal/used_apis
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
libc
|
||||||
|
noux
|
||||||
|
posix
|
|
@ -1,3 +1,5 @@
|
||||||
|
E2FSPROGS_SRC ?= $(addprefix src/noux-pkg/e2fsprogs/,target.inc target.mk)
|
||||||
|
|
||||||
content: src/noux-pkg/e2fsprogs LICENSE
|
content: src/noux-pkg/e2fsprogs LICENSE
|
||||||
|
|
||||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/e2fsprogs)
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/e2fsprogs)
|
||||||
|
@ -5,7 +7,7 @@ PORT_DIR := $(call port_dir,$(REP_DIR)/ports/e2fsprogs)
|
||||||
src/noux-pkg/e2fsprogs:
|
src/noux-pkg/e2fsprogs:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
cp -a $(PORT_DIR)/src/noux-pkg/e2fsprogs/* $@
|
cp -a $(PORT_DIR)/src/noux-pkg/e2fsprogs/* $@
|
||||||
cp -a $(REP_DIR)/src/noux-pkg/e2fsprogs/* $@
|
cp -a $(addprefix $(REP_DIR)/,$(E2FSPROGS_SRC)) $@
|
||||||
|
|
||||||
LICENSE:
|
LICENSE:
|
||||||
cp $(PORT_DIR)/src/noux-pkg/e2fsprogs/COPYING $@
|
cp $(PORT_DIR)/src/noux-pkg/e2fsprogs/COPYING $@
|
||||||
|
|
7
repos/ports/src/noux-pkg/e2fsprogs-minimal/target.mk
Normal file
7
repos/ports/src/noux-pkg/e2fsprogs-minimal/target.mk
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
BINARIES := fsck.ext2 mkfs.ext2
|
||||||
|
|
||||||
|
INSTALL_TAR_CONTENT := $(addprefix bin/,$(BINARIES))
|
||||||
|
|
||||||
|
PKG_DIR = $(call select_from_ports,e2fsprogs)/src/noux-pkg/e2fsprogs
|
||||||
|
|
||||||
|
include $(REP_DIR)/src/noux-pkg/e2fsprogs/target.inc
|
11
repos/ports/src/noux-pkg/e2fsprogs/target.inc
Normal file
11
repos/ports/src/noux-pkg/e2fsprogs/target.inc
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
CONFIGURE_FLAGS = --disable-tls --enable-fsck
|
||||||
|
|
||||||
|
# NOTE: --sbindir=/bin is broken and the easist fix is patching configure
|
||||||
|
# directly and therefore is not used.
|
||||||
|
|
||||||
|
#
|
||||||
|
# Needed for <sys/types.h>
|
||||||
|
#
|
||||||
|
CFLAGS += -D__BSD_VISIBLE
|
||||||
|
|
||||||
|
include $(call select_from_repositories,mk/noux.mk)
|
|
@ -1,11 +1 @@
|
||||||
CONFIGURE_FLAGS = --disable-tls --enable-fsck
|
include $(PRG_DIR)/target.inc
|
||||||
|
|
||||||
# NOTE: --sbindir=/bin is broken and the easist fix is patching configure
|
|
||||||
# directly and therefore is not used.
|
|
||||||
|
|
||||||
#
|
|
||||||
# Needed for <sys/types.h>
|
|
||||||
#
|
|
||||||
CFLAGS += -D__BSD_VISIBLE
|
|
||||||
|
|
||||||
include $(call select_from_repositories,mk/noux.mk)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user