wok-current annotate extundelete/receipt @ rev 25733

Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 16:13:23 2024 +0000 (2 days ago)
parents 7dd01dedad38
children
rev   line source
pascal@14259 1 # SliTaz package receipt.
pascal@14259 2
pascal@14259 3 PACKAGE="extundelete"
pascal@14259 4 VERSION="0.2.4"
pascal@14259 5 CATEGORY="base-system"
pascal@14259 6 SHORT_DESC="Recover deleted files from an ext3 or ext4 partition."
pascal@14259 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15202 8 LICENSE="GPL2"
pascal@14259 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25465 10 WEB_SITE="https://sourceforge.net/projects/extundelete/"
pascal@14259 11 WGET_URL="$SF_MIRROR/extundelete/$TARBALL"
pascal@14259 12
pascal@14259 13 DEPENDS="e2fsprogs gcc-lib-base"
pascal@14259 14 BUILD_DEPENDS="e2fsprogs-dev"
pascal@14259 15
pascal@24385 16 # What is the latest version available today?
pascal@24385 17 current_version()
pascal@24385 18 {
pascal@24385 19 wget -O - https://sourceforge.net/projects/extundelete/files/extundelete/ 2>/dev/null | \
pascal@24385 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24385 21 sed '/scope="row/!d;s|.*/extundelete/||;s|/.*||;q'
pascal@24385 22 }
pascal@24385 23
pascal@14259 24 # Rules to configure and make the package.
pascal@14259 25 compile_rules()
pascal@14259 26 {
pascal@20605 27 sed -i 's|i_dir_acl|i_size_high|' src/insertionops.cc
pascal@18213 28 sed -i 's/*inode;/inodebuf;/' src/block.c
pascal@19792 29 ./configure LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lcom_err" \
pascal@19689 30 -prefix=/usr $CONFIGURE_ARGS &&
pascal@14259 31 make && make DESTDIR=$DESTDIR install
pascal@14259 32 }
pascal@14259 33
pascal@14259 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14259 35 genpkg_rules()
pascal@14259 36 {
pascal@14259 37 cp -a $install/usr $fs
pascal@14259 38 }