For discussion of Alpine Linux development and developer support

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

Jeff Bilyk
Details
Message ID
<1283689436-4792-1-git-send-email-jbilyk@gmail.com>
Sender timestamp
1283689436
DKIM signature
missing
Download raw message
Patch: +32 -0
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 <jbilyk@gmail.com>
+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:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---