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

commit 206761778723b3f16cb3780dbdde6654ab65a75e
Author: DeX77 <[email protected]>
Date:   Wed Aug 23 13:25:24 2017 +0200

bcprov-158-1-x86_64

* version bump

diff --git a/source/devel-extra/bcprov/FrugalBuild 
b/source/devel-extra/bcprov/FrugalBuild
index 6704e67..2eef61b 100644
--- a/source/devel-extra/bcprov/FrugalBuild
+++ b/source/devel-extra/bcprov/FrugalBuild
@@ -3,19 +3,18 @@
# Contributor: bouleetbil <[email protected]>

pkgname=bcprov
-pkgver=154
+pkgver=158
pkgrel=1
pkgdesc="Java cryptography APIs."
url="http://www.bouncycastle.org/java.html";
_F_archive_name="$pkgname-jdk15on"
depends=() ## wrong some java foo's
Finclude openjava
-makedepends=(${makedepends[@]} 'junit')
groups=('devel-extra')
-archs=('i686' 'x86_64')
+archs=('x86_64')
up2date="lynx -dump http://www.bouncycastle.org/latest_releases.html | Flasttar"
source=(http://www.bouncycastle.org/download/bcprov-jdk15on-${pkgver}.tar.gz)
-sha1sums=('346c4e0d14285a2f92ab404e1d2b3bc7a2245680')
+sha1sums=('0da1f51c88dacaf240df09a980b93399ec92b479')

build()
{
@@ -29,12 +28,9 @@ build()
find . -type f -name "*.jar" -exec rm -f {} \;

pushd src
-       export CLASSPATH=/usr/share/java/junit/junit.jar
-       javac -g -source 1.6 -target 1.6 -encoding UTF-8 $(find . -type f -name 
"*.java") || Fdie
+       javac -g -source 1.6 -target 1.6 -encoding UTF-8 $(find . -type f ! 
-path "*test*" -name "*.java" ) || Fdie
jarfile="../bcprov.jar"
-       # Exclude all */test/* files except org.bouncycastle.util.test, cf. 
upstream
-       files="$(find . -type f \( -name '*.class' -o -name '*.properties' \) 
-not -path '*/test/*')"
-       files="$files $(find . -type f -path 
'*/org/bouncycastle/util/test/*.class')"
+       files="$(find . -type f \( -name '*.class' -o -name '*.properties' \))"
test ! -d classes && mf="" \
|| mf="`find classes/ -type f -name "*.mf" 2>/dev/null`"
test -n "$mf" && jar cfm $jarfile $mf $files \
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to