wok-current annotate e2fsprogs/receipt @ rev 14639
Fixed all xorg receipts to use SOURCE variable again. Please use SOURCE variable Aleksej.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jun 02 09:36:07 2013 +0000 (2013-06-02) |
parents | 64e7fff3f73c |
children | 7896f0694ef6 |
rev | line source |
---|---|
pankso@5 | 1 # SliTaz package receipt. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="e2fsprogs" |
pankso@13202 | 4 VERSION="1.42.5" |
pankso@271 | 5 CATEGORY="base-system" |
pankso@269 | 6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)." |
pankso@5 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@5 | 9 WEB_SITE="http://e2fsprogs.sourceforge.net/" |
pankso@5 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@12854 | 11 HOST_ARCH="i486 arm" |
pankso@12854 | 12 |
pascal@12634 | 13 DEPENDS="libcomerr util-linux-blkid util-linux-uuid" |
pankso@5 | 14 |
pankso@5 | 15 # Rules to configure and make the package. |
pankso@5 | 16 compile_rules() |
pankso@5 | 17 { |
pankso@5 | 18 cd $src |
pankso@12854 | 19 mkdir ../build && cd ../build |
pankso@12854 | 20 $src/configure \ |
pankso@12 | 21 --prefix=/usr \ |
pankso@12 | 22 --with-root-prefix="" \ |
pankso@12 | 23 --enable-elf-shlibs \ |
slaxemulator@10301 | 24 --sysconfdir=/etc \ |
slaxemulator@10301 | 25 $CONFIGURE_ARGS |
pankso@10304 | 26 make && make install && |
slaxemulator@9684 | 27 make install-libs |
pankso@5 | 28 } |
pankso@5 | 29 |
pankso@5 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5 | 31 genpkg_rules() |
pankso@5 | 32 { |
pankso@12854 | 33 mkdir -p $fs/usr/lib |
pankso@12854 | 34 cp -a $install/sbin $fs |
pankso@12854 | 35 cp -a $install/lib $fs |
pankso@12854 | 36 cp -a $install/etc $fs |
pankso@12854 | 37 cp -a $install/usr/bin $fs/usr |
pankso@12854 | 38 cp -a $install/usr/sbin $fs/usr |
pankso@12854 | 39 cp -a $install/usr/lib/*.so $fs/usr/lib |
pankso@10304 | 40 cat $stuff/*.files-list | while read file; do |
pankso@12854 | 41 rm -f ${fs}$file |
pascal@1163 | 42 done |
pankso@12854 | 43 # Remove fsck provided by Busybox. |
pankso@3105 | 44 rm $fs/sbin/fsck* $fs/sbin/blkid |
pankso@12854 | 45 # Remove blkid provided by util-linux. |
pankso@3105 | 46 rm $fs/lib/libblkid* $fs/usr/lib/libblkid* |
pankso@12481 | 47 # Remove uuid files provided by util-linux. |
pankso@4051 | 48 rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen |
pankso@4051 | 49 rm $fs/lib/libuuid* $fs/usr/lib/libuuid* |
pankso@5 | 50 } |
pascal@8876 | 51 |
pascal@8876 | 52 # Overlap busybox |
pascal@8876 | 53 pre_install() |
pascal@8876 | 54 { |
pankso@12854 | 55 rm -f $root/sbin/findfs |
pankso@12854 | 56 rm -f $root/sbin/tune2fs |
pascal@8876 | 57 } |
pascal@8876 | 58 |
pascal@8876 | 59 post_remove() |
pascal@8876 | 60 { |
pankso@12854 | 61 ln -s /bin/busybox $root/sbin/findfs |
pankso@12854 | 62 ln -s /bin/busybox $root/sbin/tune2fs |
pascal@8876 | 63 } |