wok-next view e2fsprogs/receipt @ rev 13188
Up: logrotate to 3.8.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Aug 03 10:02:57 2012 +0000 (2012-08-03) |
parents | 714a41626fed |
children | cc7c36a61435 |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.42.3"
5 CATEGORY="base-system"
6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 HOST_ARCH="i486 arm"
13 DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir ../build && cd ../build
20 $src/configure \
21 --prefix=/usr \
22 --with-root-prefix="" \
23 --enable-elf-shlibs \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS
26 make && make install &&
27 make install-libs
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/sbin $fs
35 cp -a $install/lib $fs
36 cp -a $install/etc $fs
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib/*.so $fs/usr/lib
40 cat $stuff/*.files-list | while read file; do
41 rm -f ${fs}$file
42 done
43 # Remove fsck provided by Busybox.
44 rm $fs/sbin/fsck* $fs/sbin/blkid
45 # Remove blkid provided by util-linux.
46 rm $fs/lib/libblkid* $fs/usr/lib/libblkid*
47 # Remove uuid files provided by util-linux.
48 rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen
49 rm $fs/lib/libuuid* $fs/usr/lib/libuuid*
50 }
52 # Overlap busybox
53 pre_install()
54 {
55 rm -f $root/sbin/findfs
56 rm -f $root/sbin/tune2fs
57 }
59 post_remove()
60 {
61 ln -s /bin/busybox $root/sbin/findfs
62 ln -s /bin/busybox $root/sbin/tune2fs
63 }