wok annotate pkg-config/receipt @ rev 15280

cinepaint: remove a wrong error trigger (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 13:12:43 2013 +0000 (2013-09-26)
parents 380ffe05937a
children b034cb9d7f7c
rev   line source
pankso@28 1 # SliTaz package receipt.
pankso@28 2
pankso@28 3 PACKAGE="pkg-config"
slaxemulator@6175 4 VERSION="0.25"
pankso@200 5 CATEGORY="development"
pankso@28 6 SHORT_DESC="Free desktop packages manager."
pankso@28 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@28 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@28 10 WEB_SITE="http://pkgconfig.freedesktop.org/wiki/"
pankso@28 11 WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL"
pankso@28 12
slaxemulator@10425 13 DEPENDS="glibc-base"
pascal@15262 14 BUILD_DEPENDS="gcc libtool"
slaxemulator@10425 15
pankso@28 16 # Rules to configure and make the package.
pankso@28 17 compile_rules()
pankso@28 18 {
pankso@28 19 cd $src
slaxemulator@9700 20 patch -p1 < $stuff/autoconf-2.66.patch
pankso@10303 21 ./configure \
pankso@10303 22 --program-prefix=$TOOLPREFIX \
pankso@10303 23 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
pankso@10303 24 make && make install
pankso@28 25 }
pankso@28 26
pankso@28 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@28 28 genpkg_rules()
pankso@28 29 {
pankso@28 30 mkdir -p $fs/usr/share
pascal@15000 31 cp -a $install/usr/bin $fs/usr
pascal@15000 32 cp -a $install/usr/share/aclocal $fs/usr/share
pankso@10303 33 # This is the default pkg-config so make a symling for package that dont
pankso@10303 34 # cross compile or search for /usr/bin/pkg-config.
pankso@10303 35 cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config
pankso@28 36 }