aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pulledpork/APKBUILD
blob: c5690b89bfd82109fc7b6a93b7ee1f434f94f1a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"