# SliTaz package receipt.

PACKAGE="fpc-src"
VERSION="2.4.2"
CATEGORY="development"
SHORT_DESC="Sources for the FreePascal compiler (requierd by the Lazarus IDE)."
MAINTAINER="slaxemulator@gmail.com"
DEPENDS=""
SOURCE="fpcbuild"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.freepascal.org/"
WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/source/$TARBALL"
COOK_OPT="!strip"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib/fpc
	cp -a $src/fpcsrc $fs/usr/lib/fpc/src
}