wok annotate libxdg-basedir/receipt @ rev 7190
Up: zip to 3.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 08 23:43:07 2010 +0000 (2010-11-08) |
parents | 11967c57a537 |
children | 2ddc0a67b50f |
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" |
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 |