wok-next annotate opensp/receipt @ rev 14856
Up: libvncserver (0.9.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 20 13:09:09 2013 +0000 (2013-07-20) |
parents | 315e0bf472ea |
children | 23c3aed67cd9 |
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 |
gokhlayeh@11573 | 19 ./configure --prefix=/usr --disable-doc-build --disable-dtddecl \ |
gokhlayeh@11573 | 20 $CONFIGURE_ARGS && |
erjo@8463 | 21 make && |
erjo@8463 | 22 make DESTDIR=$PWD/_pkg install |
erjo@8463 | 23 } |
erjo@8463 | 24 |
erjo@8463 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8463 | 26 genpkg_rules() |
erjo@8463 | 27 { |
erjo@8463 | 28 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share |
erjo@8463 | 29 |
erjo@8463 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@8463 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@8463 | 32 cp -a $_pkg/usr/share/OpenSP $fs/usr/share |
erjo@8463 | 33 } |
erjo@8463 | 34 |