wok view tup/receipt @ rev 24414
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 11:43:39 2022 +0000 (2022-02-10) |
parents | c59c1fa413a6 |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tup"
4 VERSION="0.7.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Tup is a file-based build system for Linux, OSX, and Windows."
7 MAINTAINER="necrophcodr@necrophcodr.me"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gittup.org/tup/"
11 WGET_URL="git|git://github.com/gittup/tup"
13 DEPENDS="fuse"
14 BUILD_DEPENDS="fuse-dev git"
16 current_version()
17 {
18 wget -O - https://github.com/gittup/tup/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./bootstrap.sh &&
26 mkdir -p $DESTDIR/usr/bin
27 cp tup $DESTDIR/usr/bin
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs/
34 }