# SliTaz package receipt. PACKAGE="symlinks" VERSION="1.4.3" CATEGORY="utilities" SHORT_DESC="Symbolic link maintenance utility" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" WEB_SITE="https://github.com/brandt/symlinks" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" DEPENDS="glibc-base" BUILD_DEPENDS="wget cacerts" current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/symlinks $fs/usr/bin }