wok-current view ext4magic/receipt @ rev 25712

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