wok diff opensp/receipt @ rev 8830

Up: tazlito (4.0) - Use new files path
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 24 14:40:58 2011 +0100 (2011-02-24)
parents
children b7319995b37e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/opensp/receipt	Thu Feb 24 14:40:58 2011 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="opensp"
     1.7 +VERSION="1.5.2"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="An implementation of DSSSL, a style language to format SGML or XML documents"
    1.10 +MAINTAINER="remy.carel@free.fr"
    1.11 +DEPENDS=""
    1.12 +SOURCE="OpenSP"
    1.13 +BUILD_DEPENDS="make gcc perl"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://openjade.sourceforge.net"
    1.16 +WGET_URL="$SF_MIRROR/openjade/opensp/$VERSION/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr --disable-doc-build --disable-dtddecl
    1.23 +	make &&
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
    1.31 +	
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.34 +	cp -a $_pkg/usr/share/OpenSP $fs/usr/share
    1.35 +}
    1.36 +