wok-current view symlinks/receipt @ rev 25430
Up os-prober (1.81)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 19 06:26:39 2022 +0000 (2022-08-19) |
parents | 5ea0ce1cecc0 |
children | 5926178cd6fa |
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 }