wok annotate opensp/receipt @ rev 19984
Up tazusb (199)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 28 09:22:54 2017 +0200 (2017-06-28) |
parents | b7319995b37e |
children | 080c1dff8494 |
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" |
pascal@15601 | 8 LICENSE="MIT" |
erjo@8463 | 9 SOURCE="OpenSP" |
erjo@8463 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@8463 | 11 WEB_SITE="http://openjade.sourceforge.net" |
erjo@8463 | 12 WGET_URL="$SF_MIRROR/openjade/opensp/$VERSION/$TARBALL" |
erjo@8463 | 13 |
pascal@15601 | 14 DEPENDS="" |
pascal@15601 | 15 BUILD_DEPENDS="make gcc perl" |
pascal@15601 | 16 |
erjo@8463 | 17 # Rules to configure and make the package. |
erjo@8463 | 18 compile_rules() |
erjo@8463 | 19 { |
erjo@8463 | 20 cd $src |
gokhlayeh@11573 | 21 ./configure --prefix=/usr --disable-doc-build --disable-dtddecl \ |
gokhlayeh@11573 | 22 $CONFIGURE_ARGS && |
erjo@8463 | 23 make && |
pascal@15601 | 24 make DESTDIR=$DESTDIR install |
erjo@8463 | 25 } |
erjo@8463 | 26 |
erjo@8463 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8463 | 28 genpkg_rules() |
erjo@8463 | 29 { |
erjo@8463 | 30 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share |
erjo@8463 | 31 |
pascal@15601 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15601 | 34 cp -a $install/usr/share/OpenSP $fs/usr/share |
erjo@8463 | 35 } |
erjo@8463 | 36 |