wok view fpc/receipt @ rev 11829
mysql: improve initscript
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Feb 27 01:19:40 2012 +0100 (2012-02-27) |
parents | |
children | e53e5e4b0f9e |
line source
1 # SliTaz package receipt.
3 PACKAGE="fpc"
4 VERSION="2.4.2"
5 CATEGORY="development"
6 SHORT_DESC="The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit Pascal Compiler. It comes with fully TP 7.0 compatible run-time library."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="fpc-bootstrap"
10 SOURCE="fpcbuild"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.freepascal.org/"
13 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/source/$TARBALL"
14 CONFIG_FILE="/etc/fpc.cfg"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make NOGDB=1 build
21 make -j1 NOGDB=1 PREFIX=$DESTDIR/usr install
23 # install package license
24 install -m 755 -d $DESTDIR/usr/share/licenses/fpc
25 install -m 644 $src/fpcsrc/rtl/COPYING.FPC $DESTDIR/usr/share/licenses/fpc/
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/etc
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
35 # create symlink for compiler
36 ln -s /usr/lib/$PACKAGE/$VERSION/ppc386 $fs/usr/bin
38 mkdir -p $fs/etc
39 cp -a $fs/usr/lib/fpc/$VERSION/samplecfg $fs/etc/fpc.cfg
40 }