# SliTaz package receipt.

PACKAGE="chrpath"
VERSION="0.13"
CATEGORY="misc"
SHORT_DESC="Change or delete the rpath or runpath in ELF files"
MAINTAINER="slaxemulator@gmail.com"
TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
WEB_SITE="http://packages.debian.org/chrpath"
WGET_URL="http://ftp.debian.org/debian/pool/main/c/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/bin $fs/usr
}