wok-current annotate pkg-config/receipt @ rev 15924

ntp: avoid refection attacks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 19 09:17:04 2014 +0000 (2014-02-19)
parents fecdded0f1f9
children e68abb67e0b5
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"
pascal@15262 14 BUILD_DEPENDS="gcc libtool"
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 \
pascal@15288 23 --build=$HOST_SYSTEM --host=$HOST_SYSTEM 2>&1 | \
pascal@15288 24 grep -v './libtool: No such file' &&
pankso@10303 25 make && make install
pankso@28 26 }
pankso@28 27
pankso@28 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@28 29 genpkg_rules()
pankso@28 30 {
pankso@28 31 mkdir -p $fs/usr/share
pascal@15000 32 cp -a $install/usr/bin $fs/usr
pascal@15000 33 cp -a $install/usr/share/aclocal $fs/usr/share
pankso@10303 34 # This is the default pkg-config so make a symling for package that dont
pankso@10303 35 # cross compile or search for /usr/bin/pkg-config.
pankso@10303 36 cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config
pankso@28 37 }