wok-current annotate libxdg-basedir/receipt @ rev 5220
Add exo-tools (libexo split)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Apr 06 23:43:53 2010 +0200 (2010-04-06) |
parents | |
children | f77edeb20f12 |
rev | line source |
---|---|
mallory@3305 | 1 # SliTaz package receipt. |
mallory@3305 | 2 |
mallory@3305 | 3 PACKAGE="libxdg-basedir" |
mallory@3305 | 4 VERSION="1.0.1" |
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" |
mallory@3305 | 11 |
mallory@3305 | 12 # Rules to configure and make the package. |
mallory@3305 | 13 compile_rules() |
mallory@3305 | 14 { |
mallory@3305 | 15 cd $src |
mallory@3305 | 16 ./configure \ |
mallory@3305 | 17 --prefix=/usr \ |
mallory@3305 | 18 --infodir=/usr/share/info \ |
mallory@3305 | 19 --mandir=/usr/share/man \ |
mallory@3305 | 20 $CONFIGURE_ARGS && |
mallory@3305 | 21 make && make DESTDIR=$PWD/_pkg 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 |