aur/polarssl to 1.2.3-1

This commit is contained in:
Kevin Mihelich 2012-12-03 23:30:09 +00:00
parent e692576ae8
commit 4a155fb30d

View file

@ -1,20 +1,20 @@
# Maintainer: Mihai Militaru <mihai militaru at xmpp dot ro>
pkgname=polarssl
pkgver=1.1.4
pkgver=1.2.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=('3dd10bd1a8f7f58e0ef8c91cfa5ea7efd5d5f4bc')
sha1sums=('b47b3db19c4487c5930eaec23dda0dbd24851146')
depends=('glibc')
build() {
cd "$pkgname"-"$pkgver"
sed -i 's^# CFLAGS += -fPIC^CFLAGS += -fPIC^g' library/Makefile
sed -i 's^CFLAGS +=^CFLAGS += -fPIC^g' library/Makefile
sed -i 's#all: static#all: static shared#g' library/Makefile
make