wok-current annotate pkg-config/receipt @ rev 15046
compiz-libcompizconfig: no more /etc ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 16:43:54 2013 +0000 (2013-08-12) |
parents | e1f5c569d201 |
children | fecdded0f1f9 |
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" |
slaxemulator@10425 | 14 BUILD_DEPENDS="gcc" |
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 } |