wok view elfutils/receipt @ rev 17581

Up: elfutils 0.161
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 18:13:43 2015 +0000 (2015-02-08)
parents dd525cd1b227
children c5db15c56bd6
line source
1 # SliTaz package receipt.
3 PACKAGE="elfutils"
4 VERSION="0.161"
5 CATEGORY="development"
6 SHORT_DESC="ELF object file access library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://fedorahosted.org/elfutils/"
11 WGET_URL="https://fedorahosted.org/releases/e/l/$PACKAGE/$VERSION/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="wget bzip2-dev liblzma-dev"
17 # Handle multiarch compilation
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="bzip2-dev xz-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/bin
34 for i in elfcmp findtextrel unstrip; do
35 cp -a $install/usr/bin/$i $fs/usr/bin
36 done
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/elfutils $fs/usr/lib
39 }