From 12749ac6df3c210c2e1ac900a352c96d346d97d0 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 3 Aug 2012 06:52:40 +0000 Subject: testing/phpldapadmin: move to main --- main/phpldapadmin/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 main/phpldapadmin/APKBUILD (limited to 'main/phpldapadmin') diff --git a/main/phpldapadmin/APKBUILD b/main/phpldapadmin/APKBUILD new file mode 100644 index 0000000000..f2889f2ef3 --- /dev/null +++ b/main/phpldapadmin/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: Leonardo Arena +pkgname=phpldapadmin +pkgver=1.2.2 +pkgrel=0 +pkgdesc="Web front-end for managing OpenLDAP" +url="http://phpldapadmin.sourceforge.net" +arch="noarch" +license="GPL2" +depends="php php-ldap php-gettext php-xml" +depends_dev= +makedepends="$depends_dev" +install= +subpackages= +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-php5/$pkgver/$pkgname-$pkgver.tgz" + + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/share/webapps/phpldapadmin + mkdir -p "$pkgdir"/etc + mv * "$pkgdir"/usr/share/webapps/phpldapadmin + mv "$pkgdir"/usr/share/webapps/phpldapadmin/config "$pkgdir"/etc/phpldapadmin + ln -s /etc/phpldapadmin "$pkgdir"/usr/share/webapps/phpldapadmin/config || exit 1 +} + +md5sums="78ca61eb5d7913963f8e42eb3b4f0e95 phpldapadmin-1.2.2.tgz" -- cgit v1.2.3