diff --git a/bison/build.sh b/bison/build.sh index 83f794c..b40f9af 100755 --- a/bison/build.sh +++ b/bison/build.sh @@ -10,7 +10,7 @@ # Check the following 4 variables before running the script topdir=bison version=2.3 -pkgver=1 +pkgver=2 source[0]=$topdir-$version.tar.bz2 # If there are no patches, simply comment this #patch[0]= @@ -18,6 +18,10 @@ source[0]=$topdir-$version.tar.bz2 # Source function library . ${BUILDPKG_BASE}/scripts/buildpkg.functions +# Global settings +export CPPFLAGS="-I/$prefix/include" +export LDFLAGS="-L$prefix/lib -R$prefix/lib" + reg prep prep() { @@ -30,6 +34,12 @@ build() generic_build } +reg check +check() +{ + generic_check +} + reg install install() { diff --git a/bison/meta/depend b/bison/meta/depend new file mode 100644 index 0000000..fb33fac --- /dev/null +++ b/bison/meta/depend @@ -0,0 +1 @@ +TGCbison TGCm4 auto diff --git a/bison/meta/pkgdef b/bison/meta/pkgdef index a492d28..ef6fc33 100644 --- a/bison/meta/pkgdef +++ b/bison/meta/pkgdef @@ -1,6 +1,6 @@ [bison] -pkgname="$pkgprefix""$topdir" -name="$topdir" +pkgname="${pkgprefix}${topdir}" +name="$topdir - GNU bison" pkgcat="application" pkgvendor="http://www.gnu.org" pkgdesc="General purpose parser generator" @@ -9,5 +9,7 @@ files(-,root,bin) $_bindir $_libdir $_infodir -$_sharedir $_mandir +$_sharedir/locale +$_sharedir/aclocal +$_sharedir/bison diff --git a/bison/meta/relnotes b/bison/meta/relnotes new file mode 100644 index 0000000..bd83629 --- /dev/null +++ b/bison/meta/relnotes @@ -0,0 +1,27 @@ +PACKAGE DETAILS +--------------- +Name: %%PKGNAME%% +Version: %%SOURCE_AND_VER%% +Vendor: %%VENDOR%% +Packager: %%PKGEDBY%% + +Source (sha1sum): +%%SOURCE_SHA1SUM%% + +BUILD DETAILS +------------- +Compiler: +%%COMPILER%% + +Environment: +%%ENVIRONMENT%% + +Configure: +%%CONFIGURE%% + +KNOWN DEPENDENCIES +------------------ +%%DEPENDENCIES%% + +ERRORS/MISCELLANEOUS +--------------------