wok-4.x annotate elfutils/receipt @ rev 12471

Mass Rebuild of base packages
author Stanislas Leduc <shann@slitaz.org>
date Thu Nov 10 11:11:46 2022 +0000 (22 months ago)
parents e1f534cbd1eb
children
rev   line source
pascal@5942 1 # SliTaz package receipt.
pascal@5942 2
pascal@5942 3 PACKAGE="elfutils"
shann@12471 4 VERSION="0.157"
pascal@5942 5 CATEGORY="development"
pascal@5942 6 SHORT_DESC="ELF object file access library."
pascal@5942 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@5942 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@8178 9 WEB_SITE="https://fedorahosted.org/elfutils/"
gokhlayeh@8178 10 # Note : use http mirror because https can't be access at elfutils compilation time
gokhlayeh@8178 11 # when cooking from scratch.
slaxemulator@8395 12 #WGET_URL="http://cvs.fedoraproject.org/repo/pkgs/elfutils/$TARBALL/3dcfb28fa339090a1d29a9e148cce469/$TARBALL"
shann@12471 13 WGET_URL="http://sourceware.org/$PACKAGE/ftp/$VERSION/$TARBALL"
slaxemulator@10576 14
pascal@11583 15 DEPENDS="glibc-base"
shann@12471 16 BUILD_DEPENDS="m4 bzip2-dev liblzma-dev libbfd"
pascal@5942 17
pascal@5942 18 # Rules to configure and make the package.
pascal@5942 19 compile_rules()
pascal@5942 20 {
pascal@5942 21 cd $src
shann@12471 22 CFLAGS="$CFLAGS -Wno-error" \
shann@12471 23 ./configure --prefix=/usr \
shann@12471 24 $CONFIGURE_ARGS &&
shann@12471 25 # skip make check (2 tests failed, run-strip-reloc.sh / run-native-test.sh)"
shann@12471 26 make && make install
pascal@5942 27 }
pascal@5942 28
pascal@5942 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5942 30 genpkg_rules()
pascal@5942 31 {
pascal@5942 32 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@5942 33 for i in elfcmp findtextrel unstrip; do
pascal@5942 34 cp -a $_pkg/usr/bin/$i $fs/usr/bin
pascal@5942 35 done
pascal@5942 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@5942 37 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib
pascal@5942 38 }