wok-stable annotate pkg-config/receipt @ rev 6573
lighttpd: fix 36897b07aa3c commit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 08 21:28:00 2010 +0200 (2010-10-08) |
parents | a74be843ef00 |
children | 991d3347db89 |
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 |
pankso@28 | 12 # Rules to configure and make the package. |
pankso@28 | 13 compile_rules() |
pankso@28 | 14 { |
pankso@28 | 15 cd $src |
slaxemulator@6441 | 16 patch -p1 < ../stuff/autoconf-2.66.patch |
pankso@28 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@28 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@28 | 19 make |
pankso@28 | 20 make DESTDIR=$PWD/_pkg install |
pankso@28 | 21 } |
pankso@28 | 22 |
pankso@28 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 24 genpkg_rules() |
pankso@28 | 25 { |
pankso@28 | 26 mkdir -p $fs/usr/share |
pankso@28 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 28 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@28 | 29 strip -s $fs/usr/bin/* |
pankso@28 | 30 } |