wok-stable view pkg-config/receipt @ rev 9086

nagvis: typo in genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 18:14:34 2011 +0100 (2011-03-04)
parents 168eed80580c
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="pkg-config"
4 VERSION="0.25"
5 CATEGORY="development"
6 SHORT_DESC="Free desktop packages manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="gcc"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://pkgconfig.freedesktop.org/wiki/"
12 WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 < ../stuff/autoconf-2.66.patch
19 ./configure && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/share/aclocal $fs/usr/share
28 strip -s $fs/usr/bin/*
29 }