wok view fpc/receipt @ rev 13448
Add: claws-mail-gtkhtml2_viewer
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 07 01:26:23 2012 +0200 (2012-10-07) |
parents | 6408ba48363a |
children | 7bb096863642 |
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"
15 TAGS="compiler pascal"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 make NOGDB=1 build
22 make -j1 NOGDB=1 PREFIX=$DESTDIR/usr install
24 # install package license
25 install -m 755 -d $DESTDIR/usr/share/licenses/fpc
26 install -m 644 $src/fpcsrc/rtl/COPYING.FPC $DESTDIR/usr/share/licenses/fpc/
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
36 # create symlink for compiler
37 ln -s /usr/lib/$PACKAGE/$VERSION/ppc386 $fs/usr/bin
39 mkdir -p $fs/etc
40 cp -a $fs/usr/lib/fpc/$VERSION/samplecfg $fs/etc/fpc.cfg
41 }