SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "elfutils"

# SliTaz package receipt.

PACKAGE="elfutils"
VERSION="0.150"
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://cvs.fedoraproject.org/repo/pkgs/elfutils/$TARBALL/3dcfb28fa339090a1d29a9e148cce469/$TARBALL"
WGET_URL="http://gentoo.webm.ru/distfiles/$TARBALL"

DEPENDS="glibc-base"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure $CONFIGURE_ARGS &&
    make && make check && 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 $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/elfutils $fs/usr/lib
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)