diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-08-02 14:58:11 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-08-02 14:58:44 +0000 |
commit | 6dd4e5308b14aa19b6a08ff1df2cd572f9fba3c4 (patch) | |
tree | 632ac91c21efe27b393c6882a6cdfbcba994e184 /testing | |
parent | 2c2467e1eb63bbdf7b332d27bdadd2f2e7a61077 (diff) | |
download | aports-6dd4e5308b14aa19b6a08ff1df2cd572f9fba3c4.tar.bz2 aports-6dd4e5308b14aa19b6a08ff1df2cd572f9fba3c4.tar.xz |
testing/phpldapadmin: new aport
Web front-end to manage OpenLDAP servers
Diffstat (limited to 'testing')
-rw-r--r-- | testing/phpldapadmin/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/phpldapadmin/APKBUILD b/testing/phpldapadmin/APKBUILD new file mode 100644 index 000000000..f2889f2ef --- /dev/null +++ b/testing/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" |