Subject: [alpine-devel] [PATCH] testing/nagiosql: new aport

From: Jeff Bilyk <[email-masked]>
Date: Sun, 5 Sep 2010 12:23:56 +0000

testing/nagiosql: new aport
---
 testing/nagiosql/APKBUILD |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 testing/nagiosql/APKBUILD

diff --git a/testing/nagiosql/APKBUILD b/testing/nagiosql/APKBUILD
new file mode 100644
index 0000000..65a9295
--- /dev/null
+++ b/testing/nagiosql/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jeff Bilyk <[email-masked]>
+pkgname=nagiosql
+pkgver=3.0.3
+_pkgverdown=303
+_pkgvermaj=3
+pkgrel=0
+pkgdesc="Web frontend to configure Nagios"
+url="http://www.nagiosql.org"
+license="GPL"
+depends="lighttpd mysql php php-gettext php-ftp php-pear"
+makedepends=
+source="http://downloads.sourceforge.net/$pkgname/${pkgname}${_pkgverdown}.tar.gz
+http://download.pear.php.net/package/HTML_Template_IT-1.3.0.tgz"
+
+_builddir="$srcdir"/${pkgname}${_pkgvermaj}
+
+build() {
+	cd "$_builddir"
+	return 0
+}
+
+package() {
+	cd "$_builddir"
+	mkdir -p "$pkgdir"/usr/share/webapps/nagiosql
+	mkdir -p "$pkgdir"/usr/share/pear
+	cp -r "$srcdir"/HTML_Template_IT-1.3.0/* "$pkgdir"/usr/share/pear/
+	cp -r "$_builddir"/* "$pkgdir"/usr/share/webapps/nagiosql/
+	touch "$pkgdir"/usr/share/webapps/nagiosql/install/ENABLE_INSTALLER
+}
+
+md5sums="3b15650942cf0fea3b6bbec1700ace38  nagiosql303.tar.gz
+cbd2fcffd32a39da7b260397156bddbb  HTML_Template_IT-1.3.0.tgz"
-- 
1.7.2.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---