2015-08-01 20:54:33 +02:00
|
|
|
# Description: Tools for IBM's journaled file system
|
|
|
|
# URL: http://jfs.sourceforge.net/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: util-linux
|
|
|
|
|
|
|
|
name=jfsutils
|
|
|
|
version=1.1.15
|
2020-05-28 13:03:58 +00:00
|
|
|
release=5
|
2019-01-17 15:10:29 +01:00
|
|
|
source=(http://jfs.sourceforge.net/project/pub/$name-$version.tar.gz
|
|
|
|
inttypes.patch sysmacros.patch)
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2019-01-17 15:10:29 +01:00
|
|
|
|
2015-08-01 20:54:33 +02:00
|
|
|
patch -p1 -i $SRC/inttypes.patch
|
2019-01-17 15:10:29 +01:00
|
|
|
patch -p1 -i $SRC/sysmacros.patch
|
|
|
|
|
2015-08-01 20:54:33 +02:00
|
|
|
./configure --prefix=/ --mandir=/usr/share/man
|
2019-01-17 15:10:29 +01:00
|
|
|
|
2020-05-28 13:03:58 +00:00
|
|
|
make CFLAGS="$CFLAGS -fcommon"
|
2015-08-01 20:54:33 +02:00
|
|
|
make DESTDIR=$PKG install
|
2019-01-17 15:10:29 +01:00
|
|
|
|
2015-08-01 20:54:33 +02:00
|
|
|
ln -sf jfs_mkfs $PKG/sbin/mkfs.jfs
|
|
|
|
ln -sf jfs_fsck $PKG/sbin/fsck.jfs
|
|
|
|
ln -sf jfs_mkfs.8 $PKG/usr/share/man/man8/mkfs.jfs.8
|
|
|
|
ln -sf jfs_fsck.8 $PKG/usr/share/man/man8/fsck.jfs.8
|
|
|
|
}
|