ports: src/e2fsprogs-minimal noux package

This commit is contained in:
Norman Feske 2018-02-14 20:14:35 +01:00
parent 1053d78201
commit 0253cdd50c
7 changed files with 35 additions and 12 deletions

View 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)

View File

@ -0,0 +1 @@
2018-02-14 de4fcd36004199209df12ae694fe9173c63ad38b

View File

@ -0,0 +1,3 @@
libc
noux
posix

View File

@ -1,3 +1,5 @@
E2FSPROGS_SRC ?= $(addprefix src/noux-pkg/e2fsprogs/,target.inc target.mk)
content: src/noux-pkg/e2fsprogs LICENSE
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:
mkdir -p $@
cp -a $(PORT_DIR)/src/noux-pkg/e2fsprogs/* $@
cp -a $(REP_DIR)/src/noux-pkg/e2fsprogs/* $@
cp -a $(addprefix $(REP_DIR)/,$(E2FSPROGS_SRC)) $@
LICENSE:
cp $(PORT_DIR)/src/noux-pkg/e2fsprogs/COPYING $@

View 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

View 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)

View File

@ -1,11 +1 @@
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)
include $(PRG_DIR)/target.inc