wok-6.x annotate symlinks/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (18 months ago)
parents 5ea0ce1cecc0
children
rev   line source
al@17344 1 # SliTaz package receipt.
al@17344 2
al@17344 3 PACKAGE="symlinks"
al@17344 4 VERSION="1.4.3"
al@17344 5 CATEGORY="utilities"
al@17344 6 SHORT_DESC="Symbolic link maintenance utility"
al@17344 7 MAINTAINER="al.bobylev@gmail.com"
al@17344 8 LICENSE="MIT"
al@17344 9 WEB_SITE="https://github.com/brandt/symlinks"
al@17344 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@17344 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
al@17344 12
al@17344 13 DEPENDS="glibc-base"
al@17344 14 BUILD_DEPENDS="wget cacerts"
al@17344 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24299 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
al@17344 22 # Rules to configure and make the package.
al@17344 23 compile_rules()
al@17344 24 {
al@17344 25 make
al@17344 26 }
al@17344 27
al@17344 28 # Rules to gen a SliTaz package suitable for Tazpkg.
al@17344 29 genpkg_rules()
al@17344 30 {
al@17344 31 mkdir -p $fs/usr/bin
al@17344 32 cp -a $src/symlinks $fs/usr/bin
al@17344 33 }