aboutsummaryrefslogtreecommitdiffstats
path: root/main/flex/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-11-12 18:09:38 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-12 20:49:16 +0000
commitec2881240841fca4fe78b45ca3a6b37104d10a9c (patch)
tree375c4bbc2c67fd983e34df81c80a42b12e85d065 /main/flex/APKBUILD
parented7fd8cee4853f5746fbcfc807fb3047565a5170 (diff)
downloadaports-ec2881240841fca4fe78b45ca3a6b37104d10a9c.tar.bz2
aports-ec2881240841fca4fe78b45ca3a6b37104d10a9c.tar.xz
main/flex: create compatibility symlink (/usr/bin/lex)
This symlink is for instance used by the default GNU Make rule for *.l files. Other distributions like arch linux also create this symlink.
Diffstat (limited to 'main/flex/APKBUILD')
-rw-r--r--main/flex/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/flex/APKBUILD b/main/flex/APKBUILD
index 88b4d0138b..d379377212 100644
--- a/main/flex/APKBUILD
+++ b/main/flex/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncop@alpinelinux.org>
pkgname=flex
pkgver=2.5.39
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for generating text-scanning programs"
url="http://flex.sourceforge.net"
arch="all"
@@ -35,6 +35,7 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="$pkgdir" || return 1
+ ln -s flex "$pkgdir"/usr/bin/lex || return 1
}
md5sums="77d44c6bb8c0705e0017ab9a84a1502b flex-2.5.39.tar.bz2"