summaryrefslogtreecommitdiff
path: root/jfsutils/Pkgfile
blob: 14d07688a6a0dbb4a3b652e8c617f914c5a38b18 (plain)
    1 # Description: Tools for IBM's journaled file system
    2 # URL:         http://jfs.sourceforge.net/
    3 # Maintainer:  CRUX System Team, core-ports at crux dot nu
    4 # Depends on:  util-linux
    5 
    6 name=jfsutils
    7 version=1.1.15
    8 release=5
    9 source=(http://jfs.sourceforge.net/project/pub/$name-$version.tar.gz
   10         inttypes.patch sysmacros.patch)
   11 
   12 build() {
   13     cd $name-$version
   14 
   15     patch -p1 -i $SRC/inttypes.patch
   16     patch -p1 -i $SRC/sysmacros.patch
   17 
   18     ./configure --prefix=/ --mandir=/usr/share/man
   19 
   20     make CFLAGS="$CFLAGS -fcommon"
   21     make DESTDIR=$PKG install
   22 
   23     ln -sf jfs_mkfs $PKG/sbin/mkfs.jfs
   24     ln -sf jfs_fsck $PKG/sbin/fsck.jfs
   25     ln -sf jfs_mkfs.8 $PKG/usr/share/man/man8/mkfs.jfs.8
   26     ln -sf jfs_fsck.8 $PKG/usr/share/man/man8/fsck.jfs.8
   27 }

Generated by cgit