wok-current annotate lemon/receipt @ rev 5431

Up: libgiomm, libgiomm-dev (2.24.2)
author Christopher Rogers <slaxemulator@gmail.com>
date Wed May 05 02:02:54 2010 +0000 (2010-05-05)
parents d747b7cd6d08
children 6c8824502823
rev   line source
pankso@2823 1 # SliTaz package receipt.
pankso@2823 2
pankso@2823 3 PACKAGE="lemon"
slaxemulator@5351 4 VERSION="3.6.23.1"
pankso@2823 5 CATEGORY="system-tools"
pankso@2823 6 SHORT_DESC="The LEMON Parser Generator (from the SQLite project)."
pankso@2823 7 MAINTAINER="pankso@slitaz.org"
pankso@2823 8 WANTED="sqlite"
pankso@2823 9 WEB_SITE="http://www.sqlite.org/"
pankso@2823 10
pankso@2823 11 # Rules to configure and make the package.
pankso@2823 12 compile_rules()
pankso@2823 13 {
pankso@2823 14 mkdir -p lemon-$VERSION && cd lemon-$VERSION
pankso@2823 15 cp $src/tool/lemon.c .
pankso@2823 16 cp $src/tool/lempar.c .
pankso@2823 17 sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c
pankso@2823 18 echo -n "Compiling lemon..."
pankso@2823 19 gcc -o lemon lemon.c && status
pankso@2823 20 }
pankso@2823 21
pankso@2823 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2823 23 genpkg_rules()
pankso@2823 24 {
pankso@2823 25 mkdir -p $fs/usr/bin $fs/usr/share/lemon
pankso@2823 26 cp lemon-$VERSION/lemon $fs/usr/bin
pankso@2823 27 cp lemon-$VERSION/lempar.c $fs/usr/share/lemon
pankso@2823 28 }