This commit is contained in:
Tom G. Christensen 2008-04-25 20:20:33 +00:00 committed by tgc
parent 0b837cc403
commit 3c50ef7521
4 changed files with 44 additions and 4 deletions

View File

@ -10,7 +10,7 @@
# Check the following 4 variables before running the script # Check the following 4 variables before running the script
topdir=bison topdir=bison
version=2.3 version=2.3
pkgver=1 pkgver=2
source[0]=$topdir-$version.tar.bz2 source[0]=$topdir-$version.tar.bz2
# If there are no patches, simply comment this # If there are no patches, simply comment this
#patch[0]= #patch[0]=
@ -18,6 +18,10 @@ source[0]=$topdir-$version.tar.bz2
# Source function library # Source function library
. ${BUILDPKG_BASE}/scripts/buildpkg.functions . ${BUILDPKG_BASE}/scripts/buildpkg.functions
# Global settings
export CPPFLAGS="-I/$prefix/include"
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
reg prep reg prep
prep() prep()
{ {
@ -30,6 +34,12 @@ build()
generic_build generic_build
} }
reg check
check()
{
generic_check
}
reg install reg install
install() install()
{ {

1
bison/meta/depend Normal file
View File

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

View File

@ -1,6 +1,6 @@
[bison] [bison]
pkgname="$pkgprefix""$topdir" pkgname="${pkgprefix}${topdir}"
name="$topdir" name="$topdir - GNU bison"
pkgcat="application" pkgcat="application"
pkgvendor="http://www.gnu.org" pkgvendor="http://www.gnu.org"
pkgdesc="General purpose parser generator" pkgdesc="General purpose parser generator"
@ -9,5 +9,7 @@ files(-,root,bin)
$_bindir $_bindir
$_libdir $_libdir
$_infodir $_infodir
$_sharedir
$_mandir $_mandir
$_sharedir/locale
$_sharedir/aclocal
$_sharedir/bison

27
bison/meta/relnotes Normal file
View File

@ -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
--------------------