wok annotate 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
rev   line source
erjo@8463 1 # SliTaz package receipt.
erjo@8463 2
erjo@8463 3 PACKAGE="opensp"
erjo@8463 4 VERSION="1.5.2"
erjo@8463 5 CATEGORY="misc"
erjo@8463 6 SHORT_DESC="An implementation of DSSSL, a style language to format SGML or XML documents"
erjo@8463 7 MAINTAINER="remy.carel@free.fr"
erjo@8463 8 DEPENDS=""
erjo@8463 9 SOURCE="OpenSP"
erjo@8463 10 BUILD_DEPENDS="make gcc perl"
erjo@8463 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@8463 12 WEB_SITE="http://openjade.sourceforge.net"
erjo@8463 13 WGET_URL="$SF_MIRROR/openjade/opensp/$VERSION/$TARBALL"
erjo@8463 14
erjo@8463 15 # Rules to configure and make the package.
erjo@8463 16 compile_rules()
erjo@8463 17 {
erjo@8463 18 cd $src
erjo@8463 19 ./configure --prefix=/usr --disable-doc-build --disable-dtddecl
erjo@8463 20 make &&
erjo@8463 21 make DESTDIR=$PWD/_pkg install
erjo@8463 22 }
erjo@8463 23
erjo@8463 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8463 25 genpkg_rules()
erjo@8463 26 {
erjo@8463 27 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
erjo@8463 28
erjo@8463 29 cp -a $_pkg/usr/bin $fs/usr
erjo@8463 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@8463 31 cp -a $_pkg/usr/share/OpenSP $fs/usr/share
erjo@8463 32 }
erjo@8463 33