crypto++: 5.6.0 -> 5.6.2

This commit is contained in:
Danny Rawlins 2014-10-21 19:50:30 +11:00
parent 7dd6848789
commit 200732b206
4 changed files with 32 additions and 8 deletions

View File

@ -107,6 +107,7 @@ drwxr-xr-x root/root usr/include/cryptopp/
-rw-r--r-- root/root usr/include/cryptopp/serpent.h
-rw-r--r-- root/root usr/include/cryptopp/serpentp.h
-rw-r--r-- root/root usr/include/cryptopp/sha.h
-rw-r--r-- root/root usr/include/cryptopp/sha3.h
-rw-r--r-- root/root usr/include/cryptopp/shacal2.h
-rw-r--r-- root/root usr/include/cryptopp/shark.h
-rw-r--r-- root/root usr/include/cryptopp/simple.h
@ -136,4 +137,6 @@ drwxr-xr-x root/root usr/include/cryptopp/
-rw-r--r-- root/root usr/include/cryptopp/zinflate.h
-rw-r--r-- root/root usr/include/cryptopp/zlib.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libcryptopp.a
-rw-r--r-- root/root usr/lib/libcryptopp.so
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libcrypto++.pc

View File

@ -1 +1,2 @@
36f35789ad60489d58003d3c849807e8 cryptopp560.zip
7ed022585698df48e65ce9218f6c6a67 cryptopp562.zip
5b2c116b1e1728f58afb8798b27df4e9 libcrypto++.pc.in

View File

@ -4,13 +4,24 @@
# Packager: Antti Nykanen, aon at iki dot fi
name=crypto++
version=5.6.0
version=5.6.2
release=1
source=(http://www.cryptopp.com/${name/++/pp}${version//\./}.zip)
source=(http://www.cryptopp.com/${name/++/pp}${version//\./}.zip
libcrypto++.pc.in)
build() {
make CXXFLAGS="$CXXFLAGS"
make PREFIX=$PKG/usr install
rm -rf $PKG/usr/bin
chmod 0644 $PKG/usr/include/cryptopp/*.h
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
export CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC"
make -f GNUmakefile
make libcryptopp.so
install -d $PKG/usr/{lib/pkgconfig,include/cryptopp}
install -m 0644 *.h $PKG/usr/include/cryptopp/
install -m 0644 libcryptopp.so $PKG/usr/lib/libcryptopp.so
sed -e "s/@VERSION@/$version/g" \
$SRC/libcrypto++.pc.in > libcrypto++.pc
install -m 0644 libcrypto++.pc $PKG/usr/lib/pkgconfig/libcrypto++.pc
}

View File

@ -0,0 +1,9 @@
prefix=/usr
libdir=${prefix}/lib
includedir=${prefix}/include
Name: libcrypto++-@VERSION@
Description: Class library of cryptographic schemes
Version: @VERSION@
Libs: -L${libdir} -lcryptopp
Cflags: -I${includedir}