wok-6.x annotate pkg-config/receipt @ rev 8241
Up: tazchroot to 0.0.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 28 14:27:42 2011 +0000 (2011-01-28) |
parents | 168eed80580c |
children | 02bbaa9d12ba |
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@6441 | 18 patch -p1 < ../stuff/autoconf-2.66.patch |
gokhlayeh@8210 | 19 ./configure && make && make install |
pankso@28 | 20 } |
pankso@28 | 21 |
pankso@28 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 23 genpkg_rules() |
pankso@28 | 24 { |
pankso@28 | 25 mkdir -p $fs/usr/share |
pankso@28 | 26 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 27 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@28 | 28 strip -s $fs/usr/bin/* |
pankso@28 | 29 } |