wok annotate fpc-src/receipt @ rev 25625
Add opendkim (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 17:14:09 2023 +0000 (12 months ago) |
parents | 8f37db468deb |
children |
rev | line source |
---|---|
slaxemulator@9411 | 1 # SliTaz package receipt. |
slaxemulator@9411 | 2 |
slaxemulator@9411 | 3 PACKAGE="fpc-src" |
pascal@16231 | 4 VERSION="2.6.4" |
slaxemulator@9411 | 5 CATEGORY="development" |
slaxemulator@9411 | 6 SHORT_DESC="Sources for the FreePascal compiler (requierd by the Lazarus IDE)." |
slaxemulator@9411 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15215 | 8 LICENSE="GPL2 LGPL2.1" |
slaxemulator@9411 | 9 SOURCE="fpcbuild" |
slaxemulator@9411 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 11 WEB_SITE="https://www.freepascal.org/" |
slaxemulator@9411 | 12 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/source/$TARBALL" |
pankso@16194 | 13 HOST_ARCH="i486 arm" |
pascal@15215 | 14 |
pascal@24439 | 15 # What is the latest version available today? |
pascal@24439 | 16 current_version() |
pascal@24439 | 17 { |
pascal@24626 | 18 wget -O - 'https://gitlab.com/freepascal.org/fpc/source/-/tags?sort=updated_desc' 2>/dev/null | \ |
pascal@24626 | 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 |
pascal@24439 | 20 } |
pascal@24439 | 21 |
slaxemulator@9411 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9411 | 23 genpkg_rules() |
slaxemulator@9411 | 24 { |
slaxemulator@9411 | 25 mkdir -p $fs/usr/lib/fpc |
slaxemulator@9411 | 26 cp -a $src/fpcsrc $fs/usr/lib/fpc/src |
slaxemulator@9411 | 27 } |
slaxemulator@9411 | 28 |