wok-next view pkg-config/receipt @ rev 15909
Up: lxpanel (0.6.1) and remove dep on libwnck --> lxpanel-extra (save space on core ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 15 13:07:07 2014 +0100 (2014-02-15) |
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 }