wok-next view pkg-config/receipt @ rev 19789
Add js, up pam, polkit, polkit-pam; fix typo in btrfs-progs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 20 03:48:54 2017 +0300 (2017-06-20) |
parents | 10e3347b5a0d |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pkg-config"
4 VERSION="0.29.1"
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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://pkg-config.freedesktop.org/releases/$TARBALL"
15 BUILD_DEPENDS="gcc libtool perl"
16 BUILD_DEPENDS_arm=" "
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 case "$ARCH" in
22 arm)
23 ./configure \
24 --program-prefix=$TOOLPREFIX \
25 --build=i486-slitaz-linux \
26 --host=arm-slitaz-linux-gnueabi \
27 --cache-file=arm-linux.cache ;;
28 *)
29 ./configure \
30 --prefix=/usr \
31 --with-internal-glib \
32 --disable-compile-warnings \
33 --disable-host-tool \
34 --docdir=/usr/share/doc/pkg-config-$VERSION \
35 --build=$HOST_SYSTEM \
36 --host=$HOST_SYSTEM
37 ;;
38 esac &&
39 make && make install
41 cd $install/usr/bin
42 mv pkg-config ${TOOLPREFIX}pkg-config
43 ln -s ${TOOLPREFIX}pkg-config pkg-config
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 copy @std @dev
50 DEPENDS="glibc-base"
51 }