# HG changeset patch # User Christophe Lincoln # Date 1336237185 -7200 # Node ID 2256668cf43234b76c5b9771435e2fb30c47d301 # Parent 396475ee4ca1dc0fdbc20e240fcd79e58d6a40c5 Add libpaper (a TuxPaint dep/bdep) diff -r 396475ee4ca1 -r 2256668cf432 libpaper-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpaper-dev/receipt Sat May 05 18:59:45 2012 +0200 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="libpaper-dev" +VERSION="1.1.24" +CATEGORY="system-tools" +SHORT_DESC="Devel files and headers for libpaper." +MAINTAINER="pankso@slitaz.org" +WANTED="libpaper" +WEB_SITE="http://packages.debian.org/unstable/source/libpaper" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib +} diff -r 396475ee4ca1 -r 2256668cf432 libpaper/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpaper/receipt Sat May 05 18:59:45 2012 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libpaper" +VERSION="1.1.24" +CATEGORY="system-tools" +SHORT_DESC="Library for handling paper characteristics." +MAINTAINER="pankso@slitaz.org" +TARBALL="${PACKAGE}_$VERSION+nmu1.tar.gz" +WEB_SITE="http://packages.debian.org/unstable/source/libpaper" +WGET_URL="http://ftp.de.debian.org/debian/pool/main/libp/libpaper/$TARBALL" + + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +}