diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-20 23:27:08 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-20 23:27:08 -0400 |
commit | a44a429581d48f5f1dc661d8484519836c219807 (patch) | |
tree | 2d00688a5ebe9f6bb3f5ebe04fd6f35af12ac39f /pcr/polarssl/PKGBUILD | |
parent | a3b4fa51913575d1c7478abfbcdd2799d0855ab0 (diff) | |
parent | 87b354d1fd3ad74a6d57140348bf63ddef871d11 (diff) | |
download | abslibre-a44a429581d48f5f1dc661d8484519836c219807.tar.gz abslibre-a44a429581d48f5f1dc661d8484519836c219807.tar.bz2 abslibre-a44a429581d48f5f1dc661d8484519836c219807.zip |
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'pcr/polarssl/PKGBUILD')
-rw-r--r-- | pcr/polarssl/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/polarssl/PKGBUILD b/pcr/polarssl/PKGBUILD new file mode 100644 index 000000000..9d547d1d1 --- /dev/null +++ b/pcr/polarssl/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Mihai Militaru <mihai militaru at xmpp dot ro> + +pkgname=polarssl +pkgver=1.2.8 +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=('a3e69d4e9302529c5006dcb7d8ecab9c99488036') +depends=('glibc') + +build() { + cd "$pkgname"-"$pkgver" + + sed -i 's^CFLAGS +=^CFLAGS += -fPIC^g' library/Makefile + sed -i 's#all: static#all: static shared#g' library/Makefile + + make +} + +package() { + cd "$pkgname"-"$pkgver" + + 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-$pkgver && make check" +} |