wok-6.x view pkg-config/receipt @ rev 15686
Fix wrong name for debootstrap
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:38:57 2013 +0100 (2013-12-21) |
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 }