Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b96b851a543e1635075941f8d6116c0658384167

commit b96b851a543e1635075941f8d6116c0658384167
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Wed Jun 17 11:32:33 2009 +0200

bctsp-143-1-i686
*new package

diff --git a/source/devel-extra/bctsp/FrugalBuild 
b/source/devel-extra/bctsp/FrugalBuild
new file mode 100644
index 0000000..8f3d1d2
--- /dev/null
+++ b/source/devel-extra/bctsp/FrugalBuild
@@ -0,0 +1,30 @@
+# Compiling Time: 0.05 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+pkgname=bctsp
+_F_archive_name="$pkgname-jdk14"
+pkgver=143
+pkgrel=1
+pkgdesc="Java cryptography APIs."
+url="http://www.bouncycastle.org/java.html";
+up2date="lynx -dump http://www.bouncycastle.org/latest_releases.html | 
Flasttar"
+source=(http://downloads.bouncycastle.org/java/$_F_archive_name-$pkgver.tar.gz 
build.xml)
+Finclude java
+depends=(${depen...@]} 'bcprov>=143' 'bcmail>=143')
+groups=('devel-extra')
+archs=('i686' 'x86_64')
+sha1sums=('21d52b2f4915dfab6500de0e6f6b8a494afd70ec' \
+          '9db4bf71cf4214351b54ed77442296619cf71fd0')
+
+build() {
+       Fcd
+       mkdir -p src    || Fdie
+       Fextract src.zip
+       mv org src/ || Fdie
+       #build
+       cp $Fsrcdir/build.xml build.xml || Fdie
+       antflags="-Dproject.name=${pkgname} jar"
+       Fant ${antflags}
+       #install
+       Fjar dist/${pkgname}.jar
+}
diff --git a/source/devel-extra/bctsp/build.xml 
b/source/devel-extra/bctsp/build.xml
new file mode 100644
index 0000000..3ec1d26
--- /dev/null
+++ b/source/devel-extra/bctsp/build.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!---
+   notes: Call using the following: Fant -Dpackage.name=${package name}
+-->
+<project name="Frugalware" default="jar" basedir=".">
+   <property name="src" value="src"/>
+   <property name="build" value="build"/>
+   <property name="dist" value="dist"/>
+
+   <property name="pkg" value="${package.name}"/>
+   <property name="jar" value="${project.name}.jar"/>
+
+   <!-- Override any defined properties -->
+   <property file="build.properties"/>
+
+   <target name="init">
+      <tstamp/>
+      <mkdir dir="${build}"/>
+      <mkdir dir="${dist}"/>
+      <mkdir dir="${dist}/doc"/>
+   </target>
+
+   <target name="compile" depends="init">
+      <javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/>
+   </target>
+
+   <target name="manifest" depends="init">
+      <manifest file="${build}/MANIFEST.MF" mode="update">
+         <attribute name="Built-By" value="Frugalware"/>
+      </manifest>
+   </target>
+
+   <target name="jar" depends="compile,manifest">
+      <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
+         <fileset dir="${build}"/>
+      </jar>
+   </target>
+
+   <target name="javadoc" depends="compile">
+      <javadoc sourcepath="${src}" destdir="${dist}/doc" 
packagenames="${pkg}"/>
+   </target>
+
+   <target name="clean">
+      <delete dir="${build}"/>
+      <delete dir="${dist}"/>
+   </target>
+</project>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to