CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
42468641475c368b2b1f8a6efcf30c0b8411b942
[crossrootfs.git] / e2fsprogs / Pkgfile
1 # Description: Ext2 Filesystem Utilities
2 # URL: http://e2fsprogs.sourceforge.net/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: util-linux
6
7 name=e2fsprogs
8 version=1.42.10
9 release=2
10 source=(http://downloads.sourceforge.net/project/$name/$name/v$version/$name-$version.tar.gz
11 $name-$version-config.patch)
12
13 build() {
14 cd $name-$version
15 patch -p1 -i $SRC/$name-$version-config.patch
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --with-root-prefix= \
20 --mandir=/usr/man \
21 --enable-symlink-install \
22 --enable-elf-shlibs \
23 --disable-e2initrd-helper \
24 --disable-nls \
25 --disable-fsck \
26 --disable-libblkid \
27 --disable-libuuid \
28 --disable-uuidd
29
30 make -j1
31 make -j1 DESTDIR=$PKG install install-libs
32
33 # quota support is disabled by default
34 #rm -r $PKG/usr/include/quota
35 #rm $PKG/usr/lib/{libquota.a,pkgconfig/quota.pc}
36
37 rm -r $PKG/usr/share/info
38
39 chmod +w -R $PKG
40 }