diff options
Diffstat (limited to 'testing/pdns-gui/APKBUILD')
-rw-r--r-- | testing/pdns-gui/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/pdns-gui/APKBUILD b/testing/pdns-gui/APKBUILD new file mode 100644 index 0000000000..f7a82dc00f --- /dev/null +++ b/testing/pdns-gui/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Matt Smith <mcs@darkregion.net> +# Maintainer: Matt Smith <mcs@darkregion.net> +pkgname=pdns-gui +pkgver=0.3.3 +pkgrel=0 +pkgdesc="Web-based GUI for administering PowerDNS" +url="http://code.google.com/p/pdns-gui/" +arch="noarch" +license="GPL" +depends="mysql php php-cli php-mysql php-xsl pdns pdns-backend-mysql" +depends_dev= +makedepends="$depends_dev" +install="$pkgname.post-install $pkgname.post-upgrade" +subpackages= +source="http://$pkgname.googlecode.com/files/$pkgname.$pkgver.tgz + 0010-replace-bash-with-sh.patch + " + +_builddir="$srcdir"/$pkgname.$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() { + return 0 +} + +package() { + mkdir -p "$pkgdir"/var/www/$pkgname || return 1 + cp -a "$_builddir"/* "$pkgdir"/var/www/$pkgname/ || return 1 + rm "$pkgdir"/var/www/$pkgname/INSTALL || return 1 +} + +md5sums="caa45c5408764ccd98cfffd69e5e976f pdns-gui.0.3.3.tgz +98acdea457a4805c77cea373a6d57029 0010-replace-bash-with-sh.patch" |