wok-next annotate elfutils/receipt @ rev 19618
memtest: update for GCC5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 06 18:15:00 2017 +0100 (2017-02-06) |
parents | c5db15c56bd6 |
children | 9278a60d6895 |
rev | line source |
---|---|
pascal@5942 | 1 # SliTaz package receipt. |
pascal@5942 | 2 |
pascal@5942 | 3 PACKAGE="elfutils" |
al@19590 | 4 VERSION="0.167" |
pascal@5942 | 5 CATEGORY="development" |
pascal@5942 | 6 SHORT_DESC="ELF object file access library." |
pascal@5942 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
gokhlayeh@8178 | 9 WEB_SITE="https://fedorahosted.org/elfutils/" |
pankso@12831 | 10 HOST_ARCH="i486 arm" |
slaxemulator@10576 | 11 |
al@19590 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19590 | 13 WGET_URL="https://fedorahosted.org/releases/e/l/$PACKAGE/$VERSION/$TARBALL" |
al@19590 | 14 |
pascal@11583 | 15 DEPENDS="glibc-base" |
al@19590 | 16 BUILD_DEPENDS="gettext-tools zlib-dev bzip2-dev liblzma-dev" |
pascal@5942 | 17 |
pankso@12831 | 18 # Handle multiarch compilation |
pankso@12831 | 19 case "$ARCH" in |
pankso@12914 | 20 arm) BUILD_DEPENDS="bzip2-dev xz-dev" ;; |
pankso@12831 | 21 esac |
pankso@12831 | 22 |
pascal@5942 | 23 # Rules to configure and make the package. |
pascal@5942 | 24 compile_rules() |
pascal@5942 | 25 { |
al@19590 | 26 ./configure $CONFIGURE_ARGS && make && make install |
pascal@5942 | 27 } |
pascal@5942 | 28 |
pascal@5942 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5942 | 30 genpkg_rules() |
pascal@5942 | 31 { |
al@19590 | 32 cook_copy_files elfcmp findtextrel unstrip *.so* |
pascal@5942 | 33 } |