wok-current annotate libxdg-basedir/receipt @ rev 16444
libxdg-basedir: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 18 15:45:20 2014 +0000 (2014-04-18) |
parents | dd38b4c08c8d |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
mallory@3305 | 1 # SliTaz package receipt. |
mallory@3305 | 2 |
mallory@3305 | 3 PACKAGE="libxdg-basedir" |
pankso@16441 | 4 VERSION="1.2.0" |
mallory@3305 | 5 CATEGORY="development" |
pankso@16441 | 6 SHORT_DESC="Implements functions for the XDG Base Directory specification." |
mallory@3305 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15482 | 8 LICENSE="MIT" |
mallory@3305 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16441 | 10 WEB_SITE="https://github.com/devnev/libxdg-basedir" |
pankso@16441 | 11 WGET_URL="https://github.com/devnev/$PACKAGE/archive/$TARBALL" |
pankso@16441 | 12 #HOST_ARCH="i486 arm" |
mallory@3305 | 13 |
pascal@16444 | 14 BUILD_DEPENDS="wget autoconf automake libtool" |
pascal@16444 | 15 |
mallory@3305 | 16 # Rules to configure and make the package. |
mallory@3305 | 17 compile_rules() |
mallory@3305 | 18 { |
pankso@16441 | 19 unset CFLAGS |
pankso@16441 | 20 ./autogen.sh \ |
mallory@3305 | 21 --prefix=/usr \ |
pankso@16441 | 22 $CONFIGURE_ARGS && |
pankso@10394 | 23 make && make install |
mallory@3305 | 24 } |
mallory@3305 | 25 |
mallory@3305 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3305 | 27 genpkg_rules() |
mallory@3305 | 28 { |
mallory@3305 | 29 mkdir -p $fs/usr/lib |
pascal@15482 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
mallory@3305 | 31 } |
mallory@3305 | 32 |