aboutsummaryrefslogtreecommitdiffstats
path: root/main/flex/APKBUILD
blob: d44643d7765eb1096b4915a3d004470c61b1e6ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncop@alpinelinux.org>
pkgname=flex
pkgver=2.5.35
pkgrel=2
pkgdesc="A tool for generating text-scanning programs"
url="http://flex.sourceforge.net"
license=custom
depends='m4'
makedepends=m4
source="http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2"
subpackages="$pkgname-doc"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make install DESTDIR="$pkgdir"
}

md5sums="10714e50cea54dc7a227e3eddcd44d57  flex-2.5.35.tar.bz2"