wok-6.x view extundelete/receipt @ rev 25552

Add kegs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 08 14:00:41 2023 +0000 (19 months ago)
parents 7dd01dedad38
children
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="https://sourceforge.net/projects/extundelete/"
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 }