wok-6.x diff fpc/receipt @ rev 12852

Add: vlc-plugin (2.0.0)
author Dominique Corbex <domcox@slitaz.org>
date Wed May 23 13:04:01 2012 +0200 (2012-05-23)
parents
children e53e5e4b0f9e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fpc/receipt	Wed May 23 13:04:01 2012 +0200
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fpc"
     1.7 +VERSION="2.4.2"
     1.8 +CATEGORY="development"
     1.9 +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."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="ncurses"
    1.12 +BUILD_DEPENDS="fpc-bootstrap"
    1.13 +SOURCE="fpcbuild"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://www.freepascal.org/"
    1.16 +WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/source/$TARBALL"
    1.17 +CONFIG_FILE="/etc/fpc.cfg"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	make NOGDB=1 build
    1.24 +	make -j1 NOGDB=1 PREFIX=$DESTDIR/usr install
    1.25 +
    1.26 +	# install package license
    1.27 +	install -m 755 -d $DESTDIR/usr/share/licenses/fpc
    1.28 +	install -m 644 $src/fpcsrc/rtl/COPYING.FPC $DESTDIR/usr/share/licenses/fpc/
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr $fs/etc
    1.35 +	cp -a $_pkg/usr/bin $fs/usr
    1.36 +	cp -a $_pkg/usr/lib $fs/usr
    1.37 +
    1.38 +	# create symlink for compiler
    1.39 +	ln -s /usr/lib/$PACKAGE/$VERSION/ppc386 $fs/usr/bin
    1.40 +
    1.41 +	mkdir -p $fs/etc
    1.42 +	cp -a $fs/usr/lib/fpc/$VERSION/samplecfg $fs/etc/fpc.cfg
    1.43 +}
    1.44 +