mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/crypto++ to 5.6.2-4
This commit is contained in:
parent
60dd066d51
commit
0d2faa651e
1 changed files with 3 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
pkgname=crypto++
|
||||
pkgver=5.6.2
|
||||
_srcver=562
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="A free C++ class library of cryptographic schemes"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.cryptopp.com/"
|
||||
|
@ -37,12 +37,13 @@ build() {
|
|||
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
|
||||
export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
|
||||
make -f GNUmakefile
|
||||
make libcryptopp.so
|
||||
}
|
||||
|
||||
package() {
|
||||
install -d ${pkgdir}/usr/{lib/pkgconfig,include/cryptopp}
|
||||
install -m644 *.h ${pkgdir}/usr/include/cryptopp/
|
||||
install -m644 .libs/libcryptopp.so "${pkgdir}/usr/lib/libcryptopp.so"
|
||||
install -m644 libcryptopp.so "${pkgdir}/usr/lib/libcryptopp.so"
|
||||
install -m644 ${srcdir}/libcrypto++.pc "${pkgdir}/usr/lib/pkgconfig/libcrypto++.pc"
|
||||
install -D -m644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue