wok-6.x view elfutils/receipt @ rev 15238

mysql, mariadb: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 11:54:22 2013 +0000 (2013-09-23)
parents f8a19c127db5
children dd525cd1b227
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 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 sed -i 's/run-strip-reloc.sh//' tests/Makefile* # Need cc -g !
27 ./configure $CONFIGURE_ARGS &&
28 # Disable check/tests when cross-compiling
29 case "$ARCH" in
30 arm) make && make install ;;
31 *) make && make check && make install ;;
32 esac
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/usr/bin
39 for i in elfcmp findtextrel unstrip; do
40 cp -a $install/usr/bin/$i $fs/usr/bin
41 done
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/elfutils $fs/usr/lib
44 }