wok view pkg-config/receipt @ rev 13912

LyX and friends: up 2.0.5.1
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 24 00:38:46 2013 +0000 (2013-01-24)
parents 5f31f2bade10
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://pkgconfig.freedesktop.org/wiki/"
10 WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL"
12 DEPENDS="glibc-base"
13 BUILD_DEPENDS="gcc"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p1 < $stuff/autoconf-2.66.patch
20 ./configure \
21 --program-prefix=$TOOLPREFIX \
22 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
32 # This is the default pkg-config so make a symling for package that dont
33 # cross compile or search for /usr/bin/pkg-config.
34 cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config
35 }