flex: syntax
This commit is contained in:
parent
d1787a7ad2
commit
7e4465f235
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/core.pub
|
untrusted comment: verify with /etc/ports/core.pub
|
||||||
RWRJc1FUaeVeqrjrw7VFAg4xqCX/ShBvXtoFI7M/uMCSCxTUqrdFpRGLg3ZcsPnjh7mNFbkMU4kLZGRU6jbwOxNvA9Li6l5HdAY=
|
RWRJc1FUaeVeqn3Fa3O0uOxjhZiAiCr08Xb1QiWRGGpnq/y52BgisxavwPtlRdmbSxJnTTHWP5Q7y/zDeP1Fb1N62Qjn8lR3OQs=
|
||||||
SHA256 (Pkgfile) = 3e7ea197374d0bf9a26bc763e06acdc7a297d3be31d23277756eae2fe4f12dd3
|
SHA256 (Pkgfile) = 8979c98582d1351e8edf52f899f3b5e0731acbf3a2cfb61828ae92035cc8405f
|
||||||
SHA256 (.footprint) = 4ded7e479fbecaf724eeed412013d7ec19ee65eceb2d4ef2804a6b575dd190d4
|
SHA256 (.footprint) = 4ded7e479fbecaf724eeed412013d7ec19ee65eceb2d4ef2804a6b575dd190d4
|
||||||
SHA256 (flex-2.6.4.tar.gz) = e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
|
SHA256 (flex-2.6.4.tar.gz) = e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
|
||||||
|
28
flex/Pkgfile
28
flex/Pkgfile
@ -1,6 +1,6 @@
|
|||||||
# Description: Fast Lexical Analyzer Generator
|
# Description: Fast Lexical Analyzer Generator
|
||||||
# URL: https://github.com/westes/flex
|
# URL: https://github.com/westes/flex
|
||||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||||
|
|
||||||
name=flex
|
name=flex
|
||||||
version=2.6.4
|
version=2.6.4
|
||||||
@ -8,16 +8,16 @@ release=2
|
|||||||
source=(https://github.com/westes/flex/releases/download/v$version/$name-$version.tar.gz)
|
source=(https://github.com/westes/flex/releases/download/v$version/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
CFLAGS="$CFLAGS -D_GNU_SOURCE" \
|
CFLAGS="$CFLAGS -D_GNU_SOURCE" \
|
||||||
./configure --prefix=/usr --disable-nls
|
./configure --prefix=/usr --disable-nls
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
ln -sf flex $PKG/usr/bin/lex
|
ln -sf flex $PKG/usr/bin/lex
|
||||||
ln -sf flex.1.gz $PKG/usr/share/man/man1/lex.1.gz
|
ln -sf flex.1.gz $PKG/usr/share/man/man1/lex.1.gz
|
||||||
|
|
||||||
rm -r $PKG/usr/share/{info,doc}
|
rm -r $PKG/usr/share/{info,doc}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user