diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-08-03 06:52:40 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-08-03 06:52:40 +0000 |
commit | 12749ac6df3c210c2e1ac900a352c96d346d97d0 (patch) | |
tree | 289bf72145df85167658279ff56af15052f7eeec /main/phpldapadmin | |
parent | 6329d2f43b2c54b0bd553b7f78d739e08a02ad15 (diff) | |
download | aports-12749ac6df3c210c2e1ac900a352c96d346d97d0.tar.bz2 aports-12749ac6df3c210c2e1ac900a352c96d346d97d0.tar.xz |
testing/phpldapadmin: move to main
Diffstat (limited to 'main/phpldapadmin')
-rw-r--r-- | main/phpldapadmin/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/phpldapadmin/APKBUILD b/main/phpldapadmin/APKBUILD new file mode 100644 index 000000000..f2889f2ef --- /dev/null +++ b/main/phpldapadmin/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +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" |