wok-next view pkg-config/receipt @ rev 20896

dialog: up (1.3-20180621); dropbear: up (2018.76); e2fsprogs: up (1.44.3); elfutils: up (0.173); eudev: up (3.2.5); expat: up (2.2.5); fontconfig: up (2.13.0); freetype: up (2.9.1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 20 16:59:33 2018 +0300 (2018-07-20)
parents 90a5eb560fd6
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pkg-config"
4 VERSION="0.29.2"
5 CATEGORY="development"
6 SHORT_DESC="Free desktop packages manager"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/pkg-config/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/pkg-config.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://pkg-config.freedesktop.org/releases/$TARBALL"
15 BUILD_DEPENDS_arm=" "
16 BUILD_DEPENDS="gcc libtool perl"
18 compile_rules() {
19 case "$ARCH" in
20 arm)
21 ./configure \
22 --program-prefix=$TOOLPREFIX \
23 --build=i486-slitaz-linux \
24 --host=arm-slitaz-linux-gnueabi \
25 --cache-file=arm-linux.cache ;;
26 *)
27 ./configure \
28 --with-internal-glib \
29 --disable-host-tool \
30 $CONFIGURE_ARGS
31 ;;
32 esac &&
33 fix libtool &&
34 make &&
35 make install || return 1
37 cd $install/usr/bin
38 mv pkg-config ${TOOLPREFIX}pkg-config
39 ln -s ${TOOLPREFIX}pkg-config pkg-config
40 }
42 genpkg_rules() {
43 copy @std @dev
44 DEPENDS="glibc-base"
45 TAGS="LFS"
46 }