wok-next annotate pkg-config/receipt @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | 90a5eb560fd6 |
children | d5aab818505e |
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 && |
al@20604 | 33 fix libtool && |
al@20604 | 34 make && |
al@20604 | 35 make install || return 1 |
al@19570 | 36 |
al@19570 | 37 cd $install/usr/bin |
al@19570 | 38 mv pkg-config ${TOOLPREFIX}pkg-config |
al@19570 | 39 ln -s ${TOOLPREFIX}pkg-config pkg-config |
pankso@28 | 40 } |
pankso@28 | 41 |
al@20436 | 42 genpkg_rules() { |
al@19745 | 43 copy @std @dev |
al@19745 | 44 DEPENDS="glibc-base" |
al@20436 | 45 TAGS="LFS" |
pankso@28 | 46 } |