wok-next view e2fsprogs/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | d43bf7aae921 |
children | 68405ac5fe8a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="e2fsprogs"
4 VERSION="1.43.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/e2fsprogs.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS_arm=" "
16 BUILD_DEPENDS="util-linux-uuid-dev util-linux-blkid-dev gettext attr-dev \
17 acl-dev texinfo"
18 SPLIT="libcomerr-dev e2fsprogs-dev e2fsprogs-fsck libcomerr e2fsprogs"
20 compile_rules() {
21 sed -i -e 's:\[\.-\]::' tests/filter.sed
22 mkdir build
23 cd build
25 $src/configure \
26 --bindir=/bin \
27 --with-root-prefix="" \
28 --enable-elf-shlibs \
29 --disable-libblkid \
30 --disable-libuuid \
31 --disable-uuidd \
32 --disable-fsck \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install &&
36 make install-libs || return 1
38 for i in libcom_err libe2p libext2fs libss; do
39 chmod u+w $install/usr/lib/$i.a
40 done
42 # Make .info usable
43 gunzip $install/usr/share/info/libext2fs.info.gz
44 install-info --dir-file=$install/usr/share/info/dir \
45 $install/usr/share/info/libext2fs.info
47 # Additional documentation
48 makeinfo -o $src/doc/com_err.info $src/lib/et/com_err.texinfo
49 install -m644 $src/doc/com_err.info $install/usr/share/info
50 install-info --dir-file=$install/usr/share/info/dir \
51 $install/usr/share/info/com_err.info
53 # Remove illegal symbol '\b'
54 sed -i 's|\\b||' $src/po/de.po
55 msgfmt $src/po/de.po -o $src/po/de.gmo
56 }
58 genpkg_rules() {
59 case $PACKAGE in
60 libcomerr-dev)
61 copy libcom_err.a com_err.h com_err.pc
62 CAT="development|libcomerr development files"
63 DEPENDS=" "
64 ;;
65 e2fsprogs-dev)
66 copy @dev *.sed *.awk @rm
67 DEPENDS="libcomerr-dev"
68 ;;
69 e2fsprogs-fsck)
70 copy sbin/fsck.*
71 CAT="system-tools|fsck tools"
72 DEPENDS="e2fsprogs libcomerr util-linux-blkid util-linux-uuid"
73 ;;
74 libcomerr)
75 copy libcom_err.so*
76 CAT="base-system|libcomerr library"
77 DEPENDS=" "
78 ;;
79 e2fsprogs)
80 copy @std @rm
81 DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
82 TAGS="LFS"
83 ;;
84 esac
85 }
87 # Overlap busybox
88 pre_install_e2fsprogs() {
89 rm -f $1/sbin/tune2fs
90 }