ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

commit 1c6e453e7463fdcdf3b1d775af46570d7f1a8a02
parent 3595fda05738b7a29253724819a5d879e8fff74a
Author: Daniel Bainton <dpb@driftaway.org>
Date:   Sat Mar 29 23:53:23 +0000

Add e2fsprogs

Diffstat:
e2fsprogs/depsinc.mk | 4++++
e2fsprogs/e2fsprogs.mk | 24++++++++++++++++++++++++
e2fsprogs/mkfile | 6++++++
e2fsprogs/v.mk | 1+
4 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/e2fsprogs/depsinc.mk b/e2fsprogs/depsinc.mk @@ -0,0 +1,4 @@ +<$e2fsprogs_DEPDIR/v.mk + +DEPS_CFLAGS = $DEPS_CFLAGS -I$e2fsprogs_DEPDIR/e2fsprogs-$v/lib +DEPS_LDFLAGS = $DEPS_LDFLAGS -L$e2fsprogs_DEPDIR/e2fsprogs-$v/lib/uuid -luuid diff --git a/e2fsprogs/e2fsprogs.mk b/e2fsprogs/e2fsprogs.mk @@ -0,0 +1,24 @@ +TARG = e2fsprogs + +<$mkbuild/mk.common-noinst + +e2fsprogs:QV: + CC="$CC -static" CFLAGS="-D__uint64_t=u_int64_t" ./configure --prefix="" \ + --bindir="$BINDIR" --sbindir="$BINDIR" --libexecdir="$BINDIR" \ + --mandir="/share/man" --disable-nls + make -j$nprocs + +install:QV: + make -j$nprocs DESTDIR="$ROOT" install + cd "$ROOT""$BINDIR" + rm -f mkfs.ext2 mkfs.ext3 mkfs.ext4 mkfs.ext4dev + rm -f fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev + ln -s mke2fs mkfs.ext2 + ln -s mke2fs mkfs.ext3 + ln -s mke2fs mkfs.ext4 + ln -s mke2fs mkfs.ext4dev + ln -s e2fsck fsck.ext2 + ln -s e2fsck fsck.ext3 + ln -s e2fsck fsck.ext4 + ln -s e2fsck fsck.ext4dev + diff --git a/e2fsprogs/mkfile b/e2fsprogs/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = e2fsprogs-$v +url = https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$v/e2fsprogs-$v.tar.gz +mkfile = ../e2fsprogs.mk diff --git a/e2fsprogs/v.mk b/e2fsprogs/v.mk @@ -0,0 +1 @@ +v = 1.42.9