aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/php-blenc/APKBUILD
blob: 53780f828dc9be7a300e894395ceaf853a8c7f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Diaz Devera Victor <vitronic2@gmail.com>
pkgname=php-blenc
_pkgreal=blenc
pkgver=1.1.4b
_pkgver=${pkgver/_rc/RC}
pkgrel=0
pkgdesc="PHP extension provides blowfish encryption for php scripts"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP"
depends=
pecldepends="php-dev autoconf"
makedepends="$pecldepends"
install=""
subpackages=""
source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"

_builddir="$srcdir"/$_pkgreal-$_pkgver

build() {
	cd "$_builddir"
	phpize || return 1
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make INSTALL_ROOT="$pkgdir"/ install || return 1
	install -d "$pkgdir"/etc/php/conf.d || return 1
	echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
}

md5sums="90ab57bf63854f7927ae66c2b3a40a7d  blenc-1.1.4b.tgz"
sha256sums="9f366346b0f1f76aa0e3d301fbe2b65de4dff291560a9a3a89f52a592ed0eaf0  blenc-1.1.4b.tgz"
sha512sums="308011ae8ae3532e9bf6467bb90fe3fc26dfe9b49b10f76f9137e7529ca8b5040ebd750a87b221667db3cd180af5e11e517484fa43eaa5371e17ad0a96332c25  blenc-1.1.4b.tgz"