flex: new package, flex 2.5.37

This commit is contained in:
Tom G. Christensen 2013-11-09 11:06:37 +01:00
parent e859a976bc
commit d9c31d5f4b
4 changed files with 84 additions and 0 deletions

63
flex/build.sh Executable file
View File

@ -0,0 +1,63 @@
#!/bin/bash
# This is a buildpkg build.sh script
# build.sh helper functions
. ${BUILDPKG_SCRIPTS}/build.sh.functions
#
###########################################################
# Check the following 4 variables before running the script
topdir=flex
version=2.5.37
pkgver=1
source[0]=http://downloads.sourceforge.net/project/flex/$topdir-$version.tar.bz2
# If there are no patches, simply comment this
#patch[0]=
# Source function library
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
# Global settings
export CPPFLAGS="-I/$prefix/include"
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
reg prep
prep()
{
generic_prep
}
reg build
build()
{
generic_build
}
reg check
check()
{
generic_check
}
reg install
install()
{
generic_install DESTDIR
doc README NEWS COPYING
${__rm} -rf ${stagedir}${prefix}/share/doc/flex
}
reg pack
pack()
{
generic_pack
}
reg distclean
distclean()
{
clean distclean
}
###################################################
# No need to look below here
###################################################
build_sh $*

4
flex/meta/ChangeLog Normal file
View File

@ -0,0 +1,4 @@
CHANGELOG
---------
* Sat Nov 09 2013 Tom G. Christensen <swpkg@jupiterrise.com> - 2.5.37-1
- Initial package

1
flex/meta/depend Normal file
View File

@ -0,0 +1 @@
TGCflex TGCm4 auto

16
flex/meta/pkgdef Normal file
View File

@ -0,0 +1,16 @@
[flex]
pkgname="${pkgprefix}${topdir}"
name="$topdir - the fast lexical analyzer generator"
pkgcat="system"
pkgvendor="http://flex.sourceforge.net/"
pkgdesc="A tool for creating scanners (text pattern recognizers)"
pkgver="$pkgver"
files(-,root,bin)
default_docs
$_bindir
$_libdir
$_includedir
$_infodir
$_mandir
share/locale