flex: syntax

This commit is contained in:
Tim Biermann 2021-12-13 12:20:50 +01:00
parent d1787a7ad2
commit 7e4465f235
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqrjrw7VFAg4xqCX/ShBvXtoFI7M/uMCSCxTUqrdFpRGLg3ZcsPnjh7mNFbkMU4kLZGRU6jbwOxNvA9Li6l5HdAY=
SHA256 (Pkgfile) = 3e7ea197374d0bf9a26bc763e06acdc7a297d3be31d23277756eae2fe4f12dd3
RWRJc1FUaeVeqn3Fa3O0uOxjhZiAiCr08Xb1QiWRGGpnq/y52BgisxavwPtlRdmbSxJnTTHWP5Q7y/zDeP1Fb1N62Qjn8lR3OQs=
SHA256 (Pkgfile) = 8979c98582d1351e8edf52f899f3b5e0731acbf3a2cfb61828ae92035cc8405f
SHA256 (.footprint) = 4ded7e479fbecaf724eeed412013d7ec19ee65eceb2d4ef2804a6b575dd190d4
SHA256 (flex-2.6.4.tar.gz) = e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995

View File

@ -1,6 +1,6 @@
# Description: Fast Lexical Analyzer Generator
# URL: https://github.com/westes/flex
# Maintainer: CRUX System Team, core-ports at crux dot nu
# URL: https://github.com/westes/flex
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=flex
version=2.6.4
@ -8,16 +8,16 @@ release=2
source=(https://github.com/westes/flex/releases/download/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
CFLAGS="$CFLAGS -D_GNU_SOURCE" \
./configure --prefix=/usr --disable-nls
make
make DESTDIR=$PKG install
ln -sf flex $PKG/usr/bin/lex
ln -sf flex.1.gz $PKG/usr/share/man/man1/lex.1.gz
rm -r $PKG/usr/share/{info,doc}
cd $name-$version
CFLAGS="$CFLAGS -D_GNU_SOURCE" \
./configure --prefix=/usr --disable-nls
make
make DESTDIR=$PKG install
ln -sf flex $PKG/usr/bin/lex
ln -sf flex.1.gz $PKG/usr/share/man/man1/lex.1.gz
rm -r $PKG/usr/share/{info,doc}
}