wok-next annotate e2fsprogs/receipt @ rev 21610
updated e2fsprogs (1.44.5 -> 1.45.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:07:33 2020 +0100 (2020-06-25) |
parents | 7c5d038be95b |
children |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="e2fsprogs" |
Hans-G?nter@21610 | 4 VERSION="1.45.6" |
pankso@271 | 5 CATEGORY="base-system" |
Hans-G?nter@21610 | 6 TAGS_std="LFS" |
al@19741 | 7 SHORT_DESC="Filesystem utilities for use with ext2 and ext3" |
Hans-G?nter@21610 | 8 MAINTAINER="maintainer@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
Hans-G?nter@21610 | 10 WEB_SITE="https://sourceforge.net/projects/e2fsprogs/" |
al@20896 | 11 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/e2fsprogs.html" |
pankso@12854 | 12 |
al@19577 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19577 | 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21610 | 15 # 1.44.5 TARBALL_SHA1="c3f64d10b6ef1a268a077838a5cafb6aaebe2986" |
al@19577 | 16 |
Hans-G?nter@21610 | 17 BUILD_DEPENDS="acl-dev attr-dev gettext-dev texinfo util-linux-blkid-dev |
Hans-G?nter@21610 | 18 util-linux-uuid-dev " |
al@21020 | 19 SPLIT="libcomerr-dev $PACKAGE-dev $PACKAGE-fsck libcomerr $PACKAGE" |
pankso@15943 | 20 |
al@21085 | 21 COPY_libcomerr_dev="libcom_err.a com_err.h com_err.pc" |
al@21085 | 22 COPY_e2fsprogs_dev="@dev *.sed *.awk @rm compile_et mk_cmds" |
al@21085 | 23 COPY_fsck="sbin/fsck.*" |
al@21085 | 24 COPY_libcomerr="libcom_err.so*" |
al@21085 | 25 |
al@21085 | 26 DEPENDS_libcomerr_dev="libcomerr" |
al@21085 | 27 DEPENDS_e2fsprogs_dev="$PACKAGE $PACKAGE-fsck libcomerr-dev" |
al@21085 | 28 DEPENDS_fsck="$PACKAGE libcomerr util-linux-blkid util-linux-uuid" |
al@21085 | 29 DEPENDS_libcomerr=" " |
al@21085 | 30 DEPENDS_std="libcomerr util-linux-blkid util-linux-uuid" |
al@21085 | 31 |
al@21085 | 32 CAT_libcomerr_dev="development|libcomerr development files" |
al@21085 | 33 CAT_fsck="system-tools|fsck tools" |
al@21085 | 34 CAT_libcomerr="base-system|libcomerr library" |
al@21085 | 35 |
Hans-G?nter@21610 | 36 compile_rules() |
Hans-G?nter@21610 | 37 { |
al@20965 | 38 # mkdir -p $install/usr/share/man/man8/ |
al@20965 | 39 |
al@20534 | 40 mkdir build |
al@20534 | 41 cd build |
al@19577 | 42 |
Hans-G?nter@21610 | 43 $src/configure \ |
Hans-G?nter@21610 | 44 --bindir=/bin \ |
Hans-G?nter@21610 | 45 --with-root-prefix="" \ |
Hans-G?nter@21610 | 46 --enable-elf-shlibs \ |
Hans-G?nter@21610 | 47 --disable-fsck \ |
Hans-G?nter@21610 | 48 --disable-libblkid \ |
Hans-G?nter@21610 | 49 --disable-libuuid \ |
Hans-G?nter@21610 | 50 --disable-uuidd \ |
al@19577 | 51 $CONFIGURE_ARGS && |
al@20534 | 52 make && |
al@20965 | 53 make -j1 MKDIR_P="mkdir -p" install install-libs || return 1 |
al@19577 | 54 |
Hans-G?nter@21610 | 55 for i in libcom_err libe2p libext2fs libss |
Hans-G?nter@21610 | 56 do |
al@19577 | 57 chmod u+w $install/usr/lib/$i.a |
Hans-G?nter@21610 | 58 done |
al@19577 | 59 |
al@19577 | 60 # Make .info usable |
al@19577 | 61 gunzip $install/usr/share/info/libext2fs.info.gz |
al@19577 | 62 install-info --dir-file=$install/usr/share/info/dir \ |
al@19577 | 63 $install/usr/share/info/libext2fs.info |
al@19577 | 64 |
al@19577 | 65 # Additional documentation |
al@20436 | 66 makeinfo -o $src/doc/com_err.info $src/lib/et/com_err.texinfo |
al@19577 | 67 install -m644 $src/doc/com_err.info $install/usr/share/info |
al@19577 | 68 install-info --dir-file=$install/usr/share/info/dir \ |
al@19577 | 69 $install/usr/share/info/com_err.info |
al@19577 | 70 |
al@19577 | 71 # Remove illegal symbol '\b' |
al@19577 | 72 sed -i 's|\\b||' $src/po/de.po |
al@19577 | 73 msgfmt $src/po/de.po -o $src/po/de.gmo |
al@21062 | 74 |
al@21062 | 75 # Make symlinks relative |
al@21062 | 76 fix symlinks |
pankso@5 | 77 } |
pankso@5 | 78 |
pascal@8876 | 79 # Overlap busybox |
Hans-G?nter@21610 | 80 pre_install_e2fsprogs() |
Hans-G?nter@21610 | 81 { |
al@19577 | 82 rm -f $1/sbin/tune2fs |
pascal@8876 | 83 } |