wok-next view e2fsprogs/receipt @ rev 19647
Forgotten changes: libdrm-*, dbus, fontconfig, harfbuzz, libdrm, pixman, xorg-glproto.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 23 00:58:26 2017 +0200 (2017-02-23) |
parents | 6b0977689017 |
children | 9278a60d6895 |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.43.1"
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 WEB_SITE="http://e2fsprogs.sourceforge.net/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
16 BUILD_DEPENDS="util-linux-uuid-dev util-linux-blkid-dev gettext attr-dev \
17 acl-dev texinfo"
18 SPLIT="libcomerr libcomerr-dev e2fsprogs-dev"
20 # Handle cross compilation.
21 case "$ARCH" in
22 arm) BUILD_DEPENDS="" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i -e 's:\[\.-\]::' tests/filter.sed
29 mkdir ../build && cd ../build
31 $src/configure \
32 --bindir=/bin \
33 --sysconfdir=/etc \
34 --with-root-prefix="" \
35 --enable-elf-shlibs \
36 --disable-libblkid \
37 --disable-libuuid \
38 --disable-uuidd \
39 --disable-fsck \
40 $CONFIGURE_ARGS &&
41 make && make install && make install-libs
43 for i in libcom_err libe2p libext2fs libss; do
44 chmod u+w $install/usr/lib/$i.a
45 done
47 # Make .info usable
48 gunzip $install/usr/share/info/libext2fs.info.gz
49 install-info --dir-file=$install/usr/share/info/dir \
50 $install/usr/share/info/libext2fs.info
52 # Additional documentation
53 makeinfo -o $src/doc/com_err.info $src/lib/et/com_err.texinfo
54 install -m644 $src/doc/com_err.info $install/usr/share/info
55 install-info --dir-file=$install/usr/share/info/dir \
56 $install/usr/share/info/com_err.info
58 # Remove illegal symbol '\b'
59 sed -i 's|\\b||' $src/po/de.po
60 msgfmt $src/po/de.po -o $src/po/de.gmo
61 }
63 # Rules to gen a SliTaz package suitable for Tazpkg.
64 genpkg_rules()
65 {
66 cook_copy_folders bin sbin etc
67 cook_copy_files *.so*
68 # Split -> libcomerr
69 find $fs -name 'libcom_err*' -delete
70 # Remove fsck provided by Busybox.
71 rm $fs/sbin/fsck*
72 }
74 # Overlap busybox
75 pre_install()
76 {
77 rm -f $1/sbin/tune2fs
78 }