wok-next annotate e2fsprogs/receipt @ rev 21062
Update file (5.35), patch findutils for new glibc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 05 12:49:06 2018 +0200 (2018-12-05) |
parents | d5aab818505e |
children | 7c5d038be95b |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="e2fsprogs" |
al@20965 | 4 VERSION="1.44.4" |
pankso@271 | 5 CATEGORY="base-system" |
al@19741 | 6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pankso@5 | 9 WEB_SITE="http://e2fsprogs.sourceforge.net/" |
al@20896 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/e2fsprogs.html" |
pankso@12854 | 11 |
al@19577 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19577 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@19577 | 14 |
al@21020 | 15 BUILD_DEPENDS="util-linux-uuid-dev util-linux-blkid-dev gettext-dev attr-dev \ |
al@19577 | 16 acl-dev texinfo" |
al@21020 | 17 SPLIT="libcomerr-dev $PACKAGE-dev $PACKAGE-fsck libcomerr $PACKAGE" |
pankso@15943 | 18 |
al@20436 | 19 compile_rules() { |
al@20965 | 20 # mkdir -p $install/usr/share/man/man8/ |
al@20965 | 21 |
al@20534 | 22 mkdir build |
al@20534 | 23 cd build |
al@19577 | 24 |
pankso@12854 | 25 $src/configure \ |
al@19577 | 26 --bindir=/bin \ |
pankso@12 | 27 --with-root-prefix="" \ |
pankso@12 | 28 --enable-elf-shlibs \ |
al@19577 | 29 --disable-libblkid \ |
al@19577 | 30 --disable-libuuid \ |
al@19577 | 31 --disable-uuidd \ |
al@19577 | 32 --disable-fsck \ |
al@19577 | 33 $CONFIGURE_ARGS && |
al@20534 | 34 make && |
al@20965 | 35 make -j1 MKDIR_P="mkdir -p" install install-libs || return 1 |
al@19577 | 36 |
al@19577 | 37 for i in libcom_err libe2p libext2fs libss; do |
al@19577 | 38 chmod u+w $install/usr/lib/$i.a |
al@19577 | 39 done |
al@19577 | 40 |
al@19577 | 41 # Make .info usable |
al@19577 | 42 gunzip $install/usr/share/info/libext2fs.info.gz |
al@19577 | 43 install-info --dir-file=$install/usr/share/info/dir \ |
al@19577 | 44 $install/usr/share/info/libext2fs.info |
al@19577 | 45 |
al@19577 | 46 # Additional documentation |
al@20436 | 47 makeinfo -o $src/doc/com_err.info $src/lib/et/com_err.texinfo |
al@19577 | 48 install -m644 $src/doc/com_err.info $install/usr/share/info |
al@19577 | 49 install-info --dir-file=$install/usr/share/info/dir \ |
al@19577 | 50 $install/usr/share/info/com_err.info |
al@19577 | 51 |
al@19577 | 52 # Remove illegal symbol '\b' |
al@19577 | 53 sed -i 's|\\b||' $src/po/de.po |
al@19577 | 54 msgfmt $src/po/de.po -o $src/po/de.gmo |
al@21062 | 55 |
al@21062 | 56 # Make symlinks relative |
al@21062 | 57 fix symlinks |
pankso@5 | 58 } |
pankso@5 | 59 |
al@20436 | 60 genpkg_rules() { |
al@19741 | 61 case $PACKAGE in |
al@20436 | 62 libcomerr-dev) |
al@20436 | 63 copy libcom_err.a com_err.h com_err.pc |
al@20436 | 64 CAT="development|libcomerr development files" |
al@20965 | 65 DEPENDS="libcomerr" |
al@19741 | 66 ;; |
al@19741 | 67 e2fsprogs-dev) |
al@20965 | 68 copy @dev *.sed *.awk @rm compile_et mk_cmds |
al@20965 | 69 DEPENDS="e2fsprogs e2fsprogs-fsck libcomerr-dev" |
al@19741 | 70 ;; |
al@20436 | 71 e2fsprogs-fsck) |
al@20436 | 72 copy sbin/fsck.* |
al@20436 | 73 CAT="system-tools|fsck tools" |
al@20436 | 74 DEPENDS="e2fsprogs libcomerr util-linux-blkid util-linux-uuid" |
al@20436 | 75 ;; |
al@19741 | 76 libcomerr) |
al@19741 | 77 copy libcom_err.so* |
al@19741 | 78 CAT="base-system|libcomerr library" |
al@19741 | 79 DEPENDS=" " |
al@19741 | 80 ;; |
al@20436 | 81 e2fsprogs) |
al@20436 | 82 copy @std @rm |
al@20436 | 83 DEPENDS="libcomerr util-linux-blkid util-linux-uuid" |
al@20436 | 84 TAGS="LFS" |
al@19741 | 85 ;; |
al@19741 | 86 esac |
pankso@5 | 87 } |
pascal@8876 | 88 |
pascal@8876 | 89 # Overlap busybox |
al@20436 | 90 pre_install_e2fsprogs() { |
al@19577 | 91 rm -f $1/sbin/tune2fs |
pascal@8876 | 92 } |