wok-current view pkg-config/receipt @ rev 10304

e2fsprogs: fic path to files list
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 02:19:11 2011 +0200 (2011-05-22)
parents d1768332cee0
children e1f5c569d201
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 DEPENDS="glibc-base"
9 BUILD_DEPENDS="gcc"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://pkgconfig.freedesktop.org/wiki/"
12 WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 < $stuff/autoconf-2.66.patch
19 ./configure \
20 --program-prefix=$TOOLPREFIX \
21 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/aclocal $fs/usr/share
31 # This is the default pkg-config so make a symling for package that dont
32 # cross compile or search for /usr/bin/pkg-config.
33 cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config
34 }