diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-06 14:05:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-06 14:06:54 +0000 |
commit | a7ce751682157ab7fb38c69992cd8175e0efb0dd (patch) | |
tree | 26ccc3b6bd0fa818459348dba0971e854b2b49c8 /main/npapi-sdk | |
parent | 9fc51949df045fdc5444ba4ea739dafca90e99b2 (diff) | |
download | aports-a7ce751682157ab7fb38c69992cd8175e0efb0dd.tar.bz2 aports-a7ce751682157ab7fb38c69992cd8175e0efb0dd.tar.xz |
testing/npapi-sdk: new aport
Netscape Plugin API (NPAPI)
https://bitbucket.org/mgorny/npapi-sdk
Diffstat (limited to 'main/npapi-sdk')
-rw-r--r-- | main/npapi-sdk/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/main/npapi-sdk/APKBUILD b/main/npapi-sdk/APKBUILD new file mode 100644 index 0000000000..75a220bd90 --- /dev/null +++ b/main/npapi-sdk/APKBUILD @@ -0,0 +1,49 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=npapi-sdk +pkgver=0.27.2 +pkgrel=0 +pkgdesc="Netscape Plugin API (NPAPI)" +url="https://bitbucket.org/mgorny/npapi-sdk" +arch="all" +license="MPL" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="https://bitbucket.org/mgorny/npapi-sdk/downloads/npapi-sdk-$pkgver.tar.bz2" + +_builddir="$srcdir"/npapi-sdk-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="e81db61e206cd615cf56c4a9f301e636 npapi-sdk-0.27.2.tar.bz2" +sha256sums="01bf34bdd0fcaa546ba3d5c96f5d91f91dd117d4ed5ffe13f56bbd5aa566ae77 npapi-sdk-0.27.2.tar.bz2" +sha512sums="827d52fbc8eb601ac0e486aed267b1ca6cb8732c92f1224f4b38e039288b77d07d47c5d4cf384a3114403b85e7f086f345912f1b20b41d27785c9bb367514842 npapi-sdk-0.27.2.tar.bz2" |