wok-6.x view pkg-config/receipt @ rev 15258
suricata: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 09:54:56 2013 +0000 (2013-09-24) |
parents | e1f5c569d201 |
children | fecdded0f1f9 |
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"
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 &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/aclocal $fs/usr/share
33 # This is the default pkg-config so make a symling for package that dont
34 # cross compile or search for /usr/bin/pkg-config.
35 cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config
36 }