wok view gpart/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents d2a463a1d80c
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="gpart"
4 VERSION="0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="A partition recovery tool"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/baruch/gpart"
11 WGET_URL="$WEB_SITE/archive/$VERSION/$TARBALL"
13 BUILD_DEPENDS="automake"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./autogen.sh
25 ./configure --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 }