wok view elfutils/receipt @ rev 14225

freetype*: up 2.4.11; fontconfig*: up 2.10.91; add freetype-infinality* and fontconfig-infinality; gobject-introspection: up 1.32.1; gtk+3*: up 3.4.4; add gtk3-engine-solidity, gtk3-engine-unico; pixman*: up 0.28.2; add libxklavier, lightdm*; slitaz-i18n: add all existing translations.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 21 16:18:40 2013 +0000 (2013-03-21)
parents 2ce43b9c164d
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="elfutils"
4 VERSION="0.153"
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 WGET_URL="https://fedorahosted.org/releases/e/l/$PACKAGE/$VERSION/$TARBALL"
11 HOST_ARCH="i486 arm"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="wget bzip2-dev liblzma-dev"
16 # Handle multiarch compilation
17 case "$ARCH" in
18 arm) BUILD_DEPENDS="bzip2-dev xz-dev" ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 sed -i 's/run-strip-reloc.sh//' tests/Makefile* # Need cc -g !
26 ./configure $CONFIGURE_ARGS &&
27 # Disable check/tests when cross-compiling
28 case "$ARCH" in
29 arm) make && make install ;;
30 *) make && make check && make install ;;
31 esac
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/bin
38 for i in elfcmp findtextrel unstrip; do
39 cp -a $install/usr/bin/$i $fs/usr/bin
40 done
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/elfutils $fs/usr/lib
43 }