31 lines
826 B
Plaintext
31 lines
826 B
Plaintext
# Tanım: C++ icin ucretsiz kriptografik semalar kutuphanesi
|
||
# URL : http://www.cryptopp.com/
|
||
# Paketçi: milisarge
|
||
# Gerekler: unzip
|
||
|
||
isim=crypto++
|
||
surum=5.6.2
|
||
_surum=562
|
||
devir=1
|
||
kaynak=(http://www.cryptopp.com/cryptopp${_version}.zip
|
||
crypto++-CVE-2015-2141.patch
|
||
crypto++-libcrypto++.pc)
|
||
|
||
derle() {
|
||
|
||
patch -p1 -i $SRC/crypto++-CVE-2015-2141.patch
|
||
|
||
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 -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
|
||
install -D -m644 License.txt $PKG/usr/share/licenses/$isim/LICENSE
|
||
}
|