# HG changeset patch # User Mallory MOLLO # Date 1244312093 -7200 # Node ID 11967c57a537b1d96f255685fd601e86691348c2 # Parent 94a44acac29c82403da9236bb33c0ff27b6afd35 Add: libxdg-basedir libxdg-basedir-dev diff -r 94a44acac29c -r 11967c57a537 libxdg-basedir-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxdg-basedir-dev/receipt Sat Jun 06 20:14:53 2009 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="libxdg-basedir-dev" +VERSION="1.0.1" +CATEGORY="development" +SHORT_DESC="libxdg-basedir development files" +MAINTAINER="mallory@sweetpeople.org" +WEB_SITE="http://n.ethz.ch/~nevillm/download/libxdg-basedir" +WANTED="libxdg-basedir" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} + diff -r 94a44acac29c -r 11967c57a537 libxdg-basedir/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxdg-basedir/receipt Sat Jun 06 20:14:53 2009 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="libxdg-basedir" +VERSION="1.0.1" +CATEGORY="development" +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." +MAINTAINER="mallory@sweetpeople.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://n.ethz.ch/~nevillm/download/libxdg-basedir" +WGET_URL="$WEB_SITE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +