# SliTaz package receipt. PACKAGE="elfutils" VERSION="0.183" CATEGORY="development" SHORT_DESC="ELF object file access library." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://fedorahosted.org/elfutils/" # Note : use http mirror because https can't be access at elfutils compilation time # when cooking from scratch. WGET_URL="http://sourceware.org/$PACKAGE/ftp/$VERSION/$TARBALL" DEPENDS="glibc-base" BUILD_DEPENDS="m4 bzip2-dev liblzma-dev libbfd" # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr \ --disable-debuginfod \ --disable-libdebuginfod \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/bin #for i in elfcmp findtextrel unstrip; do # cp -a $_pkg/usr/bin/$i $fs/usr/bin #done cp -a $install/usr/bin/eu-* $fs/usr/bin cp -a $install/usr/lib/*.so* $fs/usr/lib #cp -a $install/usr/lib/elfutils $fs/usr/lib }