wok-current annotate ext4magic/receipt @ rev 25637
Add miss new packages (Py3Qt-x11-gpl and pycairo118)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jan 15 22:12:34 2024 +0000 (11 months ago) |
parents | 10f03f0226ad |
children |
rev | line source |
---|---|
Hans-G?nter@25561 | 1 # SliTaz package receipt. |
Hans-G?nter@25561 | 2 |
Hans-G?nter@25561 | 3 PACKAGE="ext4magic" |
Hans-G?nter@25561 | 4 VERSION="0.3.2" |
Hans-G?nter@25561 | 5 CATEGORY="system-tools" |
Hans-G?nter@25561 | 6 TAGS="recover" |
Hans-G?nter@25561 | 7 SHORT_DESC="Recover deleted or overwritten files on ext3 and ext4 filesystems." |
Hans-G?nter@25561 | 8 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@25561 | 9 LICENSE="GPL2+" |
pascal@25562 | 10 WEB_SITE="https://sourceforge.net/projects/ext4magic/" |
Hans-G?nter@25561 | 11 |
Hans-G?nter@25561 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25561 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@25561 | 14 |
Hans-G?nter@25561 | 15 DEPENDS="e2fsprogs file zlib" |
Hans-G?nter@25561 | 16 BUILD_DEPENDS="e2fsprogs e2fsprogs-dev file libmagic-dev |
Hans-G?nter@25561 | 17 util-linux-blkid-dev util-linux-uuid-dev zlib-dev" |
Hans-G?nter@25561 | 18 |
pascal@25562 | 19 # What is the latest version available today? |
pascal@25562 | 20 current_version() |
pascal@25562 | 21 { |
pascal@25562 | 22 wget -O - https://sourceforge.net/projects/ext4magic/files/ 2>/dev/null | \ |
pascal@25562 | 23 sed '/ext4magic-/!d;s|.*ext4magic-||;s|.tar.*||;q' |
pascal@25562 | 24 } |
pascal@25562 | 25 |
Hans-G?nter@25561 | 26 # Rules to configure and make the package. |
Hans-G?nter@25561 | 27 compile_rules() |
Hans-G?nter@25561 | 28 { |
Hans-G?nter@25561 | 29 patch --strip=1 \ |
Hans-G?nter@25561 | 30 --input=$stuff/patches/ext4magic-$VERSION-i_dir_acl.patch |
Hans-G?nter@25561 | 31 export LIBS="$LIBS /usr/lib/libext2fs.so.2" |
Hans-G?nter@25561 | 32 |
Hans-G?nter@25561 | 33 ./configure \ |
Hans-G?nter@25561 | 34 --prefix=/usr && |
Hans-G?nter@25561 | 35 make && |
Hans-G?nter@25561 | 36 make install |
Hans-G?nter@25561 | 37 } |
Hans-G?nter@25561 | 38 |
Hans-G?nter@25561 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@25561 | 40 genpkg_rules() |
Hans-G?nter@25561 | 41 { |
Hans-G?nter@25561 | 42 cook_copy_folders sbin |
Hans-G?nter@25561 | 43 } |