wok-current view tup/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | cb67b4f8be05 |
children |
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="https://gittup.org/tup/"
11 WGET_URL="git|git://github.com/gittup/tup"
13 DEPENDS="fuse2"
14 BUILD_DEPENDS="fuse2-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 }