wok view elfutils/receipt @ rev 6931

Added make check to elfutils to see if fixes build problem.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 23 00:00:53 2010 +0000 (2010-10-23)
parents 8346e7a4c25f
children e09be8676c88
line source
1 # SliTaz package receipt.
3 PACKAGE="elfutils"
4 VERSION="0.149"
5 CATEGORY="development"
6 SHORT_DESC="ELF object file access library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="m4 zlib-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://fedorahosted.org/elfutils/"
11 WGET="https://fedorahosted.org/releases/e/l/$PACKAGE/$VERSION/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
17 # Download using real wget since the link is https and we need
18 # --no-check-certificate that works
19 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
20 tar xjf $SOURCES_REPOSITORY/$TARBALL
21 else
22 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
23 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
24 tar xjf $SOURCES_REPOSITORY/$TARBALL
25 fi
27 cd $src
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make check &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/bin
40 for i in elfcmp findtextrel unstrip; do
41 cp -a $_pkg/usr/bin/$i $fs/usr/bin
42 done
43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
44 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib
45 }