wok-current annotate tup/receipt @ rev 24661
updated ii (1.6 -> 1.9)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 13:28:05 2022 +0100 (2022-03-11) |
parents | c59c1fa413a6 |
children | cb67b4f8be05 |
rev | line source |
---|---|
tcg@17139 | 1 # SliTaz package receipt. |
tcg@17139 | 2 |
tcg@17139 | 3 PACKAGE="tup" |
necrophcodr@17746 | 4 VERSION="0.7.3" |
tcg@17139 | 5 CATEGORY="utilities" |
tcg@17139 | 6 SHORT_DESC="Tup is a file-based build system for Linux, OSX, and Windows." |
necrophcodr@17746 | 7 MAINTAINER="necrophcodr@necrophcodr.me" |
tcg@17139 | 8 LICENSE="GPL2" |
pascal@17162 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
tcg@17139 | 10 WEB_SITE="http://gittup.org/tup/" |
tcg@17139 | 11 WGET_URL="git|git://github.com/gittup/tup" |
tcg@17139 | 12 |
tcg@17139 | 13 DEPENDS="fuse" |
tcg@17139 | 14 BUILD_DEPENDS="fuse-dev git" |
tcg@17139 | 15 |
pascal@24139 | 16 current_version() |
pascal@24139 | 17 { |
pascal@24139 | 18 wget -O - https://github.com/gittup/tup/tags 2>/dev/null | \ |
pascal@24139 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24139 | 20 } |
pascal@24139 | 21 |
tcg@17139 | 22 # Rules to configure and make the package. |
tcg@17139 | 23 compile_rules() |
tcg@17139 | 24 { |
tcg@17139 | 25 ./bootstrap.sh && |
tcg@17139 | 26 mkdir -p $DESTDIR/usr/bin |
tcg@17139 | 27 cp tup $DESTDIR/usr/bin |
tcg@17139 | 28 } |
tcg@17139 | 29 |
tcg@17139 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
tcg@17139 | 31 genpkg_rules() |
tcg@17139 | 32 { |
tcg@17139 | 33 cp -a $install/usr $fs/ |
tcg@17139 | 34 } |