wok-6.x view e2fsprogs/receipt @ rev 15126
gcompris: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 23:02:30 2013 +0000 (2013-08-14) |
parents | 7896f0694ef6 |
children | 159df010240c |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.42.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://e2fsprogs.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
15 BUILD_DEPENDS="texinfo"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir ../build && cd ../build
22 $src/configure \
23 --prefix=/usr \
24 --with-root-prefix="" \
25 --enable-elf-shlibs \
26 --sysconfdir=/etc \
27 $CONFIGURE_ARGS
28 make && make install &&
29 make install-libs
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/sbin $fs
37 cp -a $install/lib $fs
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/*.so $fs/usr/lib
42 cat $stuff/*.files-list | while read file; do
43 rm -f ${fs}$file
44 done
45 # Remove fsck provided by Busybox.
46 rm $fs/sbin/fsck* $fs/sbin/blkid
47 # Remove blkid provided by util-linux.
48 rm $fs/lib/libblkid* $fs/usr/lib/libblkid*
49 # Remove uuid files provided by util-linux.
50 rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen
51 rm $fs/lib/libuuid* $fs/usr/lib/libuuid*
52 }
54 # Overlap busybox
55 pre_install()
56 {
57 rm -f $root/sbin/findfs
58 rm -f $root/sbin/tune2fs
59 }
61 post_remove()
62 {
63 ln -s /bin/busybox $root/sbin/findfs
64 ln -s /bin/busybox $root/sbin/tune2fs
65 }