wok-current view extundelete/receipt @ rev 24620
updated gputils (1.5.0.1 -> 1.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 10:52:24 2022 +0100 (2022-03-07) |
parents | 304e84c72408 |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="extundelete"
4 VERSION="0.2.4"
5 CATEGORY="base-system"
6 SHORT_DESC="Recover deleted files from an ext3 or ext4 partition."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://extundelete.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/extundelete/$TARBALL"
13 DEPENDS="e2fsprogs gcc-lib-base"
14 BUILD_DEPENDS="e2fsprogs-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/extundelete/files/extundelete/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/extundelete/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|i_dir_acl|i_size_high|' src/insertionops.cc
28 sed -i 's/*inode;/inodebuf;/' src/block.c
29 ./configure LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lcom_err" \
30 -prefix=/usr $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }