wok-current view gpart/receipt @ rev 24156

updated cmake (3.15.5 -> 3.22.0)
author Hans-G?nter Theisgen
date Wed Dec 08 09:15:20 2021 +0100 (2021-12-08)
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 }