mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
added aur/polarssl 1.1.3-1
This commit is contained in:
parent
f9ec57d308
commit
6ccec24d4e
1 changed files with 23 additions and 0 deletions
23
aur/polarssl/PKGBUILD
Normal file
23
aur/polarssl/PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Maintainer: Mihai Militaru <mihai militaru at xmpp dot ro>
|
||||
|
||||
pkgname=polarssl
|
||||
pkgver=1.1.3
|
||||
pkgrel=1
|
||||
pkgdesc="Portable cryptographic and SSL/TLS library"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.polarssl.org/"
|
||||
license=('GPL2')
|
||||
source=(http://www.polarssl.org/code/releases/polarssl-"$pkgver"-gpl.tgz)
|
||||
sha1sums=('9f6113ac6d317a49c91ab1d6b0489ad39daf87f4')
|
||||
depends=('glibc')
|
||||
|
||||
build() {
|
||||
cd "$pkgname"-"$pkgver"
|
||||
|
||||
sed -i 's^# CFLAGS += -fPIC^CFLAGS += -fPIC^g' library/Makefile
|
||||
sed -i 's#all: static#all: static shared#g' library/Makefile
|
||||
|
||||
make
|
||||
make DESTDIR="$pkgdir/usr" install
|
||||
echo 'WARNING: in order to run the tests, execute in this directory, after you install the library: cd src/polarssl-<version> && make check'
|
||||
}
|
Loading…
Reference in a new issue