wok-4.x annotate xalan-xerces-j/receipt @ rev 10474
youtube-dl: add compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 11:53:03 2011 +0200 (2011-05-25) |
parents | ad00280438a6 |
children |
rev | line source |
---|---|
rcx@3785 | 1 # SliTaz package receipt. |
rcx@3785 | 2 |
rcx@3785 | 3 PACKAGE="xalan-xerces-j" |
rcx@3785 | 4 SOURCE="xalan-j" |
rcx@3785 | 5 VERSION="2.7.1" |
rcx@3785 | 6 CATEGORY="development" |
rcx@3785 | 7 SHORT_DESC="A validating XML parser and an XSLT processor written in Java." |
rcx@3785 | 8 MAINTAINER="rcx@zoominternet.net" |
slaxemulator@9641 | 9 SUGGESTED="java-jre" |
rcx@3785 | 10 TARBALL="${SOURCE}_2_7_1-bin-2jars.tar.gz" |
rcx@3785 | 11 WEB_SITE="http://xalan.apache.org/" |
rcx@3785 | 12 WGET_URL="http://www.apache.org/dist/xml/xalan-j/binaries/$TARBALL" |
rcx@3785 | 13 |
slaxemulator@9641 | 14 DEPENDS="" |
pankso@9634 | 15 BUILD_DEPENDS="tar" |
pankso@9634 | 16 |
rcx@3785 | 17 # Rules to configure and make the package. |
rcx@3785 | 18 compile_rules() |
rcx@3785 | 19 { |
slaxemulator@8295 | 20 [ -d ${SOURCE}_2_7_1 ] && mv ${SOURCE}_2_7_1 $src |
rcx@3785 | 21 cd $src |
rcx@3785 | 22 |
rcx@3785 | 23 mkdir -p $src/_pkg/usr/share/java && |
rcx@3785 | 24 cp -f $src/*.jar $src/_pkg/usr/share/java |
rcx@3785 | 25 } |
rcx@3785 | 26 |
rcx@3785 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3785 | 28 genpkg_rules() |
rcx@3785 | 29 { |
rcx@3785 | 30 mkdir -p $fs |
rcx@3785 | 31 cp -a $_pkg/usr $fs |
rcx@3785 | 32 } |