wok annotate pkg-config/receipt @ rev 11766

up mtpaint (3.40) and added description
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 22 18:01:28 2012 -0800 (2012-02-22)
parents 5f31f2bade10
children 380ffe05937a
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"
pankso@28 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@28 9 WEB_SITE="http://pkgconfig.freedesktop.org/wiki/"
pankso@28 10 WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL"
pankso@28 11
slaxemulator@10425 12 DEPENDS="glibc-base"
slaxemulator@10425 13 BUILD_DEPENDS="gcc"
slaxemulator@10425 14
pankso@28 15 # Rules to configure and make the package.
pankso@28 16 compile_rules()
pankso@28 17 {
pankso@28 18 cd $src
slaxemulator@9700 19 patch -p1 < $stuff/autoconf-2.66.patch
pankso@10303 20 ./configure \
pankso@10303 21 --program-prefix=$TOOLPREFIX \
pankso@10303 22 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
pankso@10303 23 make && make install
pankso@28 24 }
pankso@28 25
pankso@28 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@28 27 genpkg_rules()
pankso@28 28 {
pankso@28 29 mkdir -p $fs/usr/share
pankso@28 30 cp -a $_pkg/usr/bin $fs/usr
pankso@28 31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
pankso@10303 32 # This is the default pkg-config so make a symling for package that dont
pankso@10303 33 # cross compile or search for /usr/bin/pkg-config.
pankso@10303 34 cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config
pankso@28 35 }