wok view fpc-src/receipt @ rev 25462
ufraw: include exiv2/error.hpp in ufraw_exiv2.cc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 10:52:41 2022 +0000 (2022-09-28) |
parents | 8f37db468deb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fpc-src"
4 VERSION="2.6.4"
5 CATEGORY="development"
6 SHORT_DESC="Sources for the FreePascal compiler (requierd by the Lazarus IDE)."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 SOURCE="fpcbuild"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.freepascal.org/"
12 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/source/$TARBALL"
13 HOST_ARCH="i486 arm"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - 'https://gitlab.com/freepascal.org/fpc/source/-/tags?sort=updated_desc' 2>/dev/null | \
19 sed '/source-/!d;/tar.gz/!d;/quot;/d;/_rc[0-9]/d;/macos/d;s|.*/source-||;s|.*release.||;s|.tar.*||;/^[0-9]/!d;s|_|.|g' | sort -Vr | sed q
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib/fpc
26 cp -a $src/fpcsrc $fs/usr/lib/fpc/src
27 }