ports/contrib (3.1): crypto++: 5.6.0 -> 5.6.2
commit 200732b20607f2a43511711a21159ed6ac2c621c Author: Danny Rawlins <monster.romster@gmail.com> Date: Tue Oct 21 19:50:30 2014 +1100 crypto++: 5.6.0 -> 5.6.2 diff --git a/crypto++/.footprint b/crypto++/.footprint index 68bf72e..d59067c 100644 --- a/crypto++/.footprint +++ b/crypto++/.footprint @@ -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 diff --git a/crypto++/.md5sum b/crypto++/.md5sum index 877b12c..5ff52b1 100644 --- a/crypto++/.md5sum +++ b/crypto++/.md5sum @@ -1 +1,2 @@ -36f35789ad60489d58003d3c849807e8 cryptopp560.zip +7ed022585698df48e65ce9218f6c6a67 cryptopp562.zip +5b2c116b1e1728f58afb8798b27df4e9 libcrypto++.pc.in diff --git a/crypto++/Pkgfile b/crypto++/Pkgfile index b636a9f..86fb854 100644 --- a/crypto++/Pkgfile +++ b/crypto++/Pkgfile @@ -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 } diff --git a/crypto++/libcrypto++.pc.in b/crypto++/libcrypto++.pc.in new file mode 100644 index 0000000..dc67d4a --- /dev/null +++ b/crypto++/libcrypto++.pc.in @@ -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}
participants (1)
-
crux@crux.nu