wok rev 8463
Add: opensp*
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Feb 07 16:40:04 2011 +0100 (2011-02-07) |
parents | 55aa21db7f5b |
children | 9af1fe7ff6a8 |
files | opensp-dev/receipt opensp/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/opensp-dev/receipt Mon Feb 07 16:40:04 2011 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="opensp-dev" 1.7 +VERSION="1.5.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="OpenSP dev files." 1.10 +MAINTAINER="remy.carel@free.fr" 1.11 +DEPENDS="opensp" 1.12 +BUILD_DEPENDS="slitaz-toolchain perl" 1.13 +SOURCE="OpenSP" 1.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 +WEB_SITE="http://openjade.sourceforge.net" 1.16 +WANTED="opensp" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 1.22 + 1.23 + mkdir -p $fs/usr/lib $fs/usr/share 1.24 + 1.25 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.26 + cp -a $_pkg/usr/include $fs/usr/ 1.27 +} 1.28 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/opensp/receipt Mon Feb 07 16:40:04 2011 +0100 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="opensp" 2.7 +VERSION="1.5.2" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="An implementation of DSSSL, a style language to format SGML or XML documents" 2.10 +MAINTAINER="remy.carel@free.fr" 2.11 +DEPENDS="" 2.12 +SOURCE="OpenSP" 2.13 +BUILD_DEPENDS="make gcc perl" 2.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.15 +WEB_SITE="http://openjade.sourceforge.net" 2.16 +WGET_URL="$SF_MIRROR/openjade/opensp/$VERSION/$TARBALL" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + ./configure --prefix=/usr --disable-doc-build --disable-dtddecl 2.23 + make && 2.24 + make DESTDIR=$PWD/_pkg install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share 2.31 + 2.32 + cp -a $_pkg/usr/bin $fs/usr 2.33 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.34 + cp -a $_pkg/usr/share/OpenSP $fs/usr/share 2.35 +} 2.36 +