wok view symlinks/receipt @ rev 25646
salvador: 10% speedup for shrink
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 21 10:02:07 2024 +0000 (9 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="symlinks"
4 VERSION="1.4.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Symbolic link maintenance utility"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/brandt/symlinks"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="wget cacerts"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/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 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/symlinks $fs/usr/bin
33 }