wok-next annotate libunwind/receipt @ rev 21013
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 14 05:29:23 2018 +0300 (2018-10-14) |
parents | 6ba36b73ef48 |
children | d5aab818505e |
rev | line source |
---|---|
al@20358 | 1 # SliTaz package receipt v2. |
pankso@16204 | 2 |
pankso@16204 | 3 PACKAGE="libunwind" |
al@20358 | 4 VERSION="1.2.1" |
pankso@16204 | 5 CATEGORY="development" |
al@20358 | 6 SHORT_DESC="C programming interface (API) to determine the call-chain of a program" |
pankso@16204 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16204 | 8 LICENSE="custom" |
al@20358 | 9 WEB_SITE="http://www.nongnu.org/libunwind/" |
al@20358 | 10 |
pankso@16204 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16204 | 12 WGET_URL="http://download.savannah.gnu.org/releases/libunwind/$TARBALL" |
pankso@16204 | 13 |
al@20358 | 14 BUILD_DEPENDS="xz-dev" |
al@20358 | 15 SPLIT="libunwind-dev" |
pankso@16204 | 16 |
al@20358 | 17 compile_rules() { |
al@20595 | 18 ./configure $CONFIGURE_ARGS && |
al@20595 | 19 fix libtool && |
al@20595 | 20 make && |
al@20595 | 21 make install |
pankso@16204 | 22 } |
pankso@16204 | 23 |
al@20358 | 24 genpkg_rules() { |
al@20358 | 25 case $PACKAGE in |
al@20358 | 26 libunwind) |
al@20358 | 27 copy @std |
al@20358 | 28 DEPENDS="liblzma" |
al@20358 | 29 ;; |
al@20358 | 30 *-dev) |
al@20358 | 31 copy @dev |
al@20358 | 32 DEPENDS="libunwind xz-dev" |
al@20358 | 33 ;; |
al@20358 | 34 esac |
pankso@16204 | 35 } |