diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-11-12 18:09:38 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-12 20:49:16 +0000 |
commit | ec2881240841fca4fe78b45ca3a6b37104d10a9c (patch) | |
tree | 375c4bbc2c67fd983e34df81c80a42b12e85d065 /main/flex/APKBUILD | |
parent | ed7fd8cee4853f5746fbcfc807fb3047565a5170 (diff) | |
download | aports-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/APKBUILD | 3 |
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" |