blob: 735686320fa6add12a6b63bc0a7838e57d9a6581 (
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
|
# Maintainer: Natanael Copa <ncop@alpinelinux.org>
pkgname=flex
pkgver=2.5.36
pkgrel=0
pkgdesc="A tool for generating text-scanning programs"
url="http://flex.sourceforge.net"
arch="all"
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 \
--build=${CBUILD} \
--host=${CHOST} \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
}
md5sums="5e637290609fd3c2f1f2e75ac2bce1c5 flex-2.5.36.tar.bz2"
|