summaryrefslogtreecommitdiff
path: root/hfsutils/Pkgfile
blob: 69c8fd19839af076c216816bb67498cc0706af8d (plain)
    1 # Description: HFS FS Access utils"
    2 # URL: https://www.mars.org/home/rob/proj/hfs/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 
    5 name=hfsutils
    6 version=3.2.6
    7 release=1
    8 source=(ftp://ftp.mars.org/pub/hfs/$name-$version.tar.gz
    9 	hfsutils-3.2.6-errno.patch
   10 	hfsutils-3.2.6-fix-tcl-8.6.patch
   11 	largerthan2gb.patch)
   12 
   13 build() {
   14 	cd $name-$version
   15 
   16 	patch -p1 -i $SRC/hfsutils-3.2.6-errno.patch
   17 	patch -p1 -i $SRC/hfsutils-3.2.6-fix-tcl-8.6.patch
   18 	patch -p0 -i $SRC/largerthan2gb.patch
   19 
   20 	./configure \
   21 		--prefix=/usr
   22 
   23 	make
   24 	make -C hfsck
   25 
   26 	install -d \
   27 		$PKG/usr/bin \
   28 		$PKG/usr/share/man/man1 \
   29 		$PKG/usr/share/info
   30 
   31 	make \
   32 		prefix=$PKG/usr \
   33 		MANDEST=$PKG/usr/share/man \
   34 		infodir=$PKG/usr/share/info \
   35 		install
   36 
   37 	install -m 0755 hfsck/hfsck $PKG/usr/bin/
   38 	rm -r $PKG/usr/share/info
   39 }

Generated by cgit