wok-4.x view e2fsprogs/receipt @ rev 896
Split lzma in lzma + lzlib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 12 11:51:08 2008 +0000 (2008-06-12) |
parents | c3d8970e5eea |
children | 739a2a9402c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.39"
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --with-root-prefix="" \
19 --enable-elf-shlibs \
20 --disable-evms \
21 --sysconfdir=/etc \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 make DESTDIR=$PWD/_pkg install-libs
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/locale
34 cp -a $_pkg/sbin $fs
35 cp -a $_pkg/lib $fs
36 cp -a $_pkg/etc $fs
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/sbin $fs/usr
39 cp -ad $_pkg/usr/lib/*.so $fs/usr/lib
41 # Remove fsck provided by Busybox.
42 rm -rf $fs/sbin/fsck*
44 # Locale fr.
45 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
47 # Strip all stuff.
48 strip -s $fs/sbin/*
49 strip -s $fs/lib/*
50 strip -s $fs/usr/bin/*
51 strip -s $fs/usr/sbin/*
52 strip -s $fs/usr/lib/*
53 }