# SliTaz package receipt. PACKAGE="chrpath" VERSION="0.16" CATEGORY="misc" SHORT_DESC="Change or delete the rpath or runpath in ELF files" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="https://packages.debian.org/chrpath" TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" WGET_URL="http://ftp.debian.org/debian/pool/main/c/$PACKAGE/$TARBALL" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i 's|/doc|/share/doc|' Makefile* ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }