mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
23 lines
728 B
Bash
23 lines
728 B
Bash
# Maintainer: Mihai Militaru <mihai militaru at xmpp dot ro>
|
|
|
|
pkgname=polarssl
|
|
pkgver=1.1.4
|
|
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=('3dd10bd1a8f7f58e0ef8c91cfa5ea7efd5d5f4bc')
|
|
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'
|
|
}
|