wok-next view pkg-config/receipt @ rev 20585
Up cppunit (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 11:20:34 2018 +0300 (2018-04-14) |
parents | 9a17d981d0f7 |
children | 10df65db91ad |
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 make && make install
35 cd $install/usr/bin
36 mv pkg-config ${TOOLPREFIX}pkg-config
37 ln -s ${TOOLPREFIX}pkg-config pkg-config
38 }
40 genpkg_rules() {
41 copy @std @dev
42 DEPENDS="glibc-base"
43 TAGS="LFS"
44 }