wok view pkg-config/receipt @ rev 15935
Up: polkit-qt (0.103.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 11:26:58 2014 +0100 (2014-02-22) |
parents | fecdded0f1f9 |
children | e68abb67e0b5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pkg-config"
4 VERSION="0.25"
5 CATEGORY="development"
6 SHORT_DESC="Free desktop packages manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pkgconfig.freedesktop.org/wiki/"
11 WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="gcc libtool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -p1 < $stuff/autoconf-2.66.patch
21 ./configure \
22 --program-prefix=$TOOLPREFIX \
23 --build=$HOST_SYSTEM --host=$HOST_SYSTEM 2>&1 | \
24 grep -v './libtool: No such file' &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/aclocal $fs/usr/share
34 # This is the default pkg-config so make a symling for package that dont
35 # cross compile or search for /usr/bin/pkg-config.
36 cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config
37 }