wok-current annotate libxdg-basedir/receipt @ rev 10394

libxdg-basedir: can't cross (use native)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 19:04:46 2011 +0200 (2011-05-23)
parents f77edeb20f12
children 8d6f480bf664
rev   line source
mallory@3305 1 # SliTaz package receipt.
mallory@3305 2
mallory@3305 3 PACKAGE="libxdg-basedir"
slaxemulator@6284 4 VERSION="1.1.0"
mallory@3305 5 CATEGORY="development"
mallory@3305 6 SHORT_DESC="This library implements functions to list the directories according to the XDG Base Directory specification and provides a few higher-level functions for use with the specification."
mallory@3305 7 MAINTAINER="mallory@sweetpeople.org"
mallory@3305 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@3305 9 WEB_SITE="http://n.ethz.ch/~nevillm/download/libxdg-basedir"
mallory@3305 10 WGET_URL="$WEB_SITE/$TARBALL"
pankso@10394 11 CROSS="error"
mallory@3305 12
mallory@3305 13 # Rules to configure and make the package.
mallory@3305 14 compile_rules()
mallory@3305 15 {
mallory@3305 16 cd $src
mallory@3305 17 ./configure \
mallory@3305 18 --prefix=/usr \
pankso@10394 19 --build=$HOST_SYSTEM \
pankso@10394 20 --host=$HOST_SYSTEM &&
pankso@10394 21 make && make install
mallory@3305 22 }
mallory@3305 23
mallory@3305 24 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3305 25 genpkg_rules()
mallory@3305 26 {
mallory@3305 27 mkdir -p $fs/usr/lib
mallory@3305 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
mallory@3305 29 }
mallory@3305 30