wok annotate libxdg-basedir/receipt @ rev 15953

arm: fix file cross compilation and add testsuite
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 15:49:23 2014 +0100 (2014-02-23)
parents 2ddc0a67b50f
children dd38b4c08c8d
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"
pascal@15482 8 LICENSE="MIT"
mallory@3305 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@3305 10 WEB_SITE="http://n.ethz.ch/~nevillm/download/libxdg-basedir"
mallory@3305 11 WGET_URL="$WEB_SITE/$TARBALL"
pankso@10394 12 CROSS="error"
mallory@3305 13
mallory@3305 14 # Rules to configure and make the package.
mallory@3305 15 compile_rules()
mallory@3305 16 {
mallory@3305 17 cd $src
mallory@3305 18 ./configure \
mallory@3305 19 --prefix=/usr \
pankso@10394 20 --build=$HOST_SYSTEM \
pankso@10394 21 --host=$HOST_SYSTEM &&
pankso@10394 22 make && make install
mallory@3305 23 }
mallory@3305 24
mallory@3305 25 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3305 26 genpkg_rules()
mallory@3305 27 {
mallory@3305 28 mkdir -p $fs/usr/lib
pascal@15482 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
mallory@3305 30 }
mallory@3305 31