# HG changeset patch # User Richard Dunbar # Date 1427144405 14400 # Node ID d1cd4ce1c28694016c5bb28fa9ccc84cd4a273bd # Parent d12ce34a0d9aab2128ff89aeff5c570cdad26ce6 Add ijs diff -r d12ce34a0d9a -r d1cd4ce1c286 ijs-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ijs-dev/receipt Mon Mar 23 17:00:05 2015 -0400 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="ijs-dev" +VERSION="0.35" +CATEGORY="office" +SHORT_DESC="IJS developement files" +MAINTAINER="mojo@slitaz.org" +LICENSE="GPL3" +WANTED="ijs" +WEB_SITE="http://openprinting.org" + +DEPENDS="ijs" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/include + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include/ijs $fs/usr/include +} diff -r d12ce34a0d9a -r d1cd4ce1c286 ijs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ijs/receipt Mon Mar 23 17:00:05 2015 -0400 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="ijs" +VERSION="0.35" +CATEGORY="office" +SHORT_DESC="IJS API function" +MAINTAINER="mojo@slitaz.org" +LICENSE="GPL3" +WEB_SITE="http://openprinting.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="https://www.openprinting.org/download/ijs/download/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="wget" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-shared \ + --disable-static \ + $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/lib/*.so* $fs/usr/lib +}