diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-06 06:24:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-06 06:24:23 +0000 |
commit | 579ba619a6a0d799c5cf1632003fa79e9551aa68 (patch) | |
tree | 5e649af0505583c206ee1d4d1ad6fb86998ae706 | |
parent | e5103dee420328c76983c537c09f956b7358af18 (diff) | |
download | alpine_aports-579ba619a6a0d799c5cf1632003fa79e9551aa68.tar.bz2 alpine_aports-579ba619a6a0d799c5cf1632003fa79e9551aa68.tar.xz alpine_aports-579ba619a6a0d799c5cf1632003fa79e9551aa68.zip |
testing/re2c: new aport
A tool for writing fast and flexible scanners in C from regular expressions
http://www.re2c.org
ref #395
-rw-r--r-- | testing/re2c/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/re2c/APKBUILD b/testing/re2c/APKBUILD new file mode 100644 index 0000000000..9867fece2d --- /dev/null +++ b/testing/re2c/APKBUILD | |||
@@ -0,0 +1,37 @@ | |||
1 | # Contributor: Jeff Bilyk <jbilyk at gmail> | ||
2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | pkgname=re2c | ||
4 | pkgver=0.13.5 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="A tool for writing fast and flexible scanners in C from regular expressions" | ||
7 | url="http://www.re2c.org" | ||
8 | license="Public Domain" | ||
9 | depends= | ||
10 | makedepends= | ||
11 | install= | ||
12 | subpackages="$pkgname-doc" | ||
13 | source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" | ||
14 | |||
15 | _builddir="$srcdir"/$pkgname-$pkgver | ||
16 | |||
17 | prepare() { | ||
18 | cd "$_builddir" | ||
19 | # As Gentoo build, fix perms | ||
20 | chmod -R u+rw . | ||
21 | } | ||
22 | |||
23 | build() { | ||
24 | cd "$_builddir" | ||
25 | ./configure --prefix=/usr \ | ||
26 | --sysconfdir=/etc \ | ||
27 | --mandir=/usr/share/man \ | ||
28 | --infodir=/usr/share/info | ||
29 | make || return 1 | ||
30 | } | ||
31 | |||
32 | package() { | ||
33 | cd "$_builddir" | ||
34 | make DESTDIR="$pkgdir" install | ||
35 | } | ||
36 | |||
37 | md5sums="4a97d8f77ed6d2c76c8bd840a43f5633 re2c-0.13.5.tar.gz" | ||