wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="libxdg-basedir"
4 VERSION="1.1.0"
5 CATEGORY="development"
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."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://n.ethz.ch/~nevillm/download/libxdg-basedir"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 CROSS="error"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --build=$HOST_SYSTEM \
21 --host=$HOST_SYSTEM &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }