wok-4.x annotate pkg-config/receipt @ rev 10392
gparted: can't cross (use native)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 18:59:09 2011 +0200 (2011-05-23) |
parents | d1768332cee0 |
children | e1f5c569d201 |
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" |
gokhlayeh@8210 | 8 DEPENDS="glibc-base" |
gokhlayeh@8210 | 9 BUILD_DEPENDS="gcc" |
pankso@28 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@28 | 11 WEB_SITE="http://pkgconfig.freedesktop.org/wiki/" |
pankso@28 | 12 WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL" |
pankso@28 | 13 |
pankso@28 | 14 # Rules to configure and make the package. |
pankso@28 | 15 compile_rules() |
pankso@28 | 16 { |
pankso@28 | 17 cd $src |
slaxemulator@9700 | 18 patch -p1 < $stuff/autoconf-2.66.patch |
pankso@10303 | 19 ./configure \ |
pankso@10303 | 20 --program-prefix=$TOOLPREFIX \ |
pankso@10303 | 21 --build=$HOST_SYSTEM --host=$HOST_SYSTEM && |
pankso@10303 | 22 make && make install |
pankso@28 | 23 } |
pankso@28 | 24 |
pankso@28 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 26 genpkg_rules() |
pankso@28 | 27 { |
pankso@28 | 28 mkdir -p $fs/usr/share |
pankso@28 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 30 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@10303 | 31 # This is the default pkg-config so make a symling for package that dont |
pankso@10303 | 32 # cross compile or search for /usr/bin/pkg-config. |
pankso@10303 | 33 cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config |
pankso@28 | 34 } |