wok-current view gpart/receipt @ rev 25245

updated python-unidecode (1.1.1 -> 1.2.0)
author Hans-G?nter Theisgen
date Thu Jul 14 07:00:20 2022 +0100 (2022-07-14)
parents d2a463a1d80c
children
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 }