wok annotate tup/receipt @ rev 25370
updated tmux (3.0a -> 3.3a)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:23:40 2022 +0100 (2022-07-29) |
parents | cb67b4f8be05 |
children |
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" |
pascal@24746 | 10 WEB_SITE="https://gittup.org/tup/" |
tcg@17139 | 11 WGET_URL="git|git://github.com/gittup/tup" |
tcg@17139 | 12 |
pascal@24766 | 13 DEPENDS="fuse2" |
pascal@24766 | 14 BUILD_DEPENDS="fuse2-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 } |