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

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