wok-next annotate pkg-config/receipt @ rev 20436
Update packages listed in the LFS book.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 21 19:48:17 2018 +0200 (2018-02-21) |
parents | 9a17d981d0f7 |
children | 10df65db91ad |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
pankso@28 | 2 |
pankso@28 | 3 PACKAGE="pkg-config" |
al@20436 | 4 VERSION="0.29.2" |
pankso@200 | 5 CATEGORY="development" |
al@19745 | 6 SHORT_DESC="Free desktop packages manager" |
pankso@28 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19570 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/pkg-config/" |
al@20436 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/pkg-config.html" |
pankso@28 | 11 |
al@19570 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19570 | 13 WGET_URL="https://pkg-config.freedesktop.org/releases/$TARBALL" |
al@19570 | 14 |
al@20436 | 15 BUILD_DEPENDS_arm=" " |
al@19570 | 16 BUILD_DEPENDS="gcc libtool perl" |
pankso@15983 | 17 |
al@20436 | 18 compile_rules() { |
pankso@15983 | 19 case "$ARCH" in |
pankso@15983 | 20 arm) |
pankso@15983 | 21 ./configure \ |
pankso@15983 | 22 --program-prefix=$TOOLPREFIX \ |
pankso@15983 | 23 --build=i486-slitaz-linux \ |
pankso@15983 | 24 --host=arm-slitaz-linux-gnueabi \ |
pankso@15983 | 25 --cache-file=arm-linux.cache ;; |
pankso@15983 | 26 *) |
pankso@15983 | 27 ./configure \ |
al@19570 | 28 --with-internal-glib \ |
al@19570 | 29 --disable-host-tool \ |
al@20436 | 30 $CONFIGURE_ARGS |
al@19570 | 31 ;; |
pankso@15983 | 32 esac && |
pankso@10303 | 33 make && make install |
al@19570 | 34 |
al@19570 | 35 cd $install/usr/bin |
al@19570 | 36 mv pkg-config ${TOOLPREFIX}pkg-config |
al@19570 | 37 ln -s ${TOOLPREFIX}pkg-config pkg-config |
pankso@28 | 38 } |
pankso@28 | 39 |
al@20436 | 40 genpkg_rules() { |
al@19745 | 41 copy @std @dev |
al@19745 | 42 DEPENDS="glibc-base" |
al@20436 | 43 TAGS="LFS" |
pankso@28 | 44 } |