wok view gpart/receipt @ rev 24646
updated hostapd (2.9 -> 2.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 11:11:28 2022 +0100 (2022-03-10) |
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 }