milis/talimatname/genel/c/crypto++/talimat

31 lines
826 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: C++ icin ucretsiz kriptografik semalar kutuphanesi
2016-02-24 01:27:23 +01:00
# URL : http://www.cryptopp.com/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: unzip
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=crypto++
surum=5.6.2
_surum=562
devir=1
kaynak=(http://www.cryptopp.com/cryptopp${_version}.zip
2016-02-24 01:27:23 +01:00
crypto++-CVE-2015-2141.patch
crypto++-libcrypto++.pc)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
patch -p1 -i $SRC/crypto++-CVE-2015-2141.patch
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
2017-01-30 23:55:06 +01:00
make -f GNUmakefile
2016-02-24 01:27:23 +01:00
make libcryptopp.so
install -d $PKG/usr/{lib/pkgconfig,include/cryptopp}
install -m644 *.h $PKG/usr/include/cryptopp/
install -m644 libcryptopp.so $PKG/usr/lib/libcryptopp.so
install -m644 $SRC/crypto++-libcrypto++.pc $PKG/usr/lib/pkgconfig/libcrypto++.pc
2017-10-28 14:10:23 +02:00
install -D -m644 License.txt $PKG/usr/share/licenses/$isim/LICENSE
2016-02-24 01:27:23 +01:00
}