summaryrefslogtreecommitdiffstats
path: root/testing/pulledpork
diff options
context:
space:
mode:
Diffstat (limited to 'testing/pulledpork')
-rw-r--r--testing/pulledpork/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/pulledpork/APKBUILD b/testing/pulledpork/APKBUILD
new file mode 100644
index 000000000..c5690b89b
--- /dev/null
+++ b/testing/pulledpork/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer:
+pkgname=pulledpork
+pkgver=0.6.1
+pkgrel=0
+pkgdesc="Automatic download of snort rules"
+url="http://code.google.com/p/pulledpork"
+arch="noarch"
+license="GPL"
+depends="perl perl-io-socket-ssl perl-crypt-ssleay perl-libwww"
+depends_dev=
+makedepends="$depends_dev"
+install=
+subpackages="$pkgname-doc"
+source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ install -D -m755 pulledpork.pl "$pkgdir"/usr/bin/pulledpork.pl
+ mkdir -p "$pkgdir"/usr/share/doc
+ mkdir -p "$pkgdir"/etc
+ mv doc "$pkgdir"/usr/share/doc/pulledpork
+ mv etc "$pkgdir"/etc/pulledpork
+}
+
+md5sums="a35c5c89d1f631ade1a2cd4e5c3a8778 pulledpork-0.6.1.tar.gz"