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