wok view scrounge-ntfs/receipt @ rev 24713
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 14 18:23:09 2022 +0000 (2022-03-14) |
parents | 90a87813caa6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="scrounge-ntfs"
4 VERSION="0.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data recovery program for NTFS file systems."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/lcorbasson/scrounge-ntfs"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://thewalter.net/stef/software/scrounge/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 }