Mercurial > vanilla
comparison core/e2fsprogs/e2fsprogs.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 297b5eef115e |
children | 57dc83a39b13 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
45 with_nls="--enable-nls" | 45 with_nls="--enable-nls" |
46 else | 46 else |
47 with_nls="--disable-nls" | 47 with_nls="--disable-nls" |
48 fi | 48 fi |
49 | 49 |
50 build() | 50 rm -rf $PKGNAME-$PKGVERSION |
51 { | 51 tar xvf $PKGNAME-$PKGVERSION.tar.gz |
52 rm -rf $PKGNAME-$PKGVERSION | 52 cd $PKGNAME-$PKGVERSION |
53 tar xvf $PKGNAME-$PKGVERSION.tar.gz | |
54 cd $PKGNAME-$PKGVERSION | |
55 | 53 |
56 # disable-{fsck,uuid,libuuid,libblkid} => util-linux provides them. | 54 # disable-{fsck,uuid,libuuid,libblkid} => util-linux provides them. |
57 CC="$CC" \ | 55 CC="$CC" \ |
58 CFLAGS="$CFLAGS" \ | 56 CFLAGS="$CFLAGS" \ |
59 LDFLAGS="$LDFLAGS" \ | 57 LDFLAGS="$LDFLAGS" \ |
60 LIBS="$LIBS" \ | 58 LIBS="$LIBS" \ |
61 ./configure \ | 59 ./configure \ |
62 --build=$CBUILD \ | 60 --build=$CBUILD \ |
63 --host=$CHOST \ | 61 --host=$CHOST \ |
64 --prefix= \ | 62 --prefix= \ |
65 --sbindir=/bin \ | 63 --sbindir=/bin \ |
66 --disable-fsck \ | 64 --disable-fsck \ |
67 --disable-uuidd \ | 65 --disable-uuidd \ |
68 --disable-libuuid \ | 66 --disable-libuuid \ |
69 --disable-libblkid \ | 67 --disable-libblkid \ |
70 --enable-elf-shlibs \ | 68 --enable-elf-shlibs \ |
71 --with-crond-dir=/etc/cron.d \ | 69 --with-crond-dir=/etc/cron.d \ |
72 $with_fuse \ | 70 $with_fuse \ |
73 $with_nls | 71 $with_nls |
74 make | 72 make |
75 make install install-libs DESTDIR=$DESTDIR | 73 make install install-libs DESTDIR=$DESTDIR |
76 | 74 |
77 cd .. | 75 cd .. |
78 rm -rf $PKGNAME-$PKGVERSION | 76 rm -rf $PKGNAME-$PKGVERSION |
79 } |