# SliTaz package receipt. PACKAGE="opensp" VERSION="1.5.2" CATEGORY="misc" SHORT_DESC="An implementation of DSSSL, a style language to format SGML or XML documents" MAINTAINER="remy.carel@free.fr" DEPENDS="" SOURCE="OpenSP" BUILD_DEPENDS="make gcc perl" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://openjade.sourceforge.net" WGET_URL="$SF_MIRROR/openjade/opensp/$VERSION/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr --disable-doc-build --disable-dtddecl \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/share/OpenSP $fs/usr/share }