wok view fpc/receipt @ rev 15406

Up: cryptsetup (1.6.2)
author Dominique Corbex <domcox@slitaz.org>
date Sat Nov 02 21:30:27 2013 +0100 (2013-11-02)
parents e53e5e4b0f9e
children e6bbb8cc0677
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 LICENSE="GPL2 LGPL2.1"
9 SOURCE="fpcbuild"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freepascal.org/"
12 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/source/$TARBALL"
13 CONFIG_FILE="/etc/fpc.cfg"
14 TAGS="compiler pascal"
16 DEPENDS="ncurses"
17 BUILD_DEPENDS="fpc-bootstrap"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 make NOGDB=1 build
24 make -j1 NOGDB=1 PREFIX=$DESTDIR/usr install
26 # install package license
27 install -m 755 -d $DESTDIR/usr/share/licenses/fpc
28 install -m 644 $src/fpcsrc/rtl/COPYING.FPC $DESTDIR/usr/share/licenses/fpc/
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/etc
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
38 # create symlink for compiler
39 ln -s /usr/lib/$PACKAGE/$VERSION/ppc386 $fs/usr/bin
41 mkdir -p $fs/etc
42 cp -a $fs/usr/lib/fpc/$VERSION/samplecfg $fs/etc/fpc.cfg
43 }