diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-03-04 10:03:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-03-04 10:03:23 +0000 |
commit | ae7160f1ccaaec1c94a669fcef58a0d3422cf993 (patch) | |
tree | 7021b2d39c7498cf0b33b8286f4dfdb6d61269cb /testing | |
parent | f8f6d51717a3c120092475c5c01f318f8d690a9b (diff) | |
download | aports-ae7160f1ccaaec1c94a669fcef58a0d3422cf993.tar.bz2 aports-ae7160f1ccaaec1c94a669fcef58a0d3422cf993.tar.xz |
testing/zendframework: new aport
PHP web application framework
http://framework.zend.com/
ref #1580
Diffstat (limited to 'testing')
-rw-r--r-- | testing/zendframework/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/zendframework/APKBUILD b/testing/zendframework/APKBUILD new file mode 100644 index 000000000..fe5de2909 --- /dev/null +++ b/testing/zendframework/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=zendframework +pkgver=2.1.1 +pkgrel=0 +pkgdesc="PHP web application framework" +url="http://framework.zend.com/" +arch="all" +license="PHP" +depends="" +depends_dev="" +makedepends="" +install="" +subpackages="" +source="https://packages.zendframework.com/releases/ZendFramework-$pkgver/ZendFramework-$pkgver.tgz" + +_builddir="$srcdir"/ZendFramework-$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" +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/share/php/zend + cp -a "$_builddir"/* "$pkgdir"/usr/share/php/zend/ + +} + +md5sums="ae631b9774d69ce06cff4afbb395dd63 ZendFramework-2.1.1.tgz" +sha256sums="fd9bf9dcc2a53cae9f39bcea90686a23d4b766f77c7c8f545e15e06c5a4ff213 ZendFramework-2.1.1.tgz" +sha512sums="e67976ec7cfc8a354de70826e6a2ed28fa7280a28b8669ca1fa67d3c54ffcadae390f8fa324d46a055a38db3132e6959e92e026611365f92359e0c0d7253afdc ZendFramework-2.1.1.tgz" |