wok annotate cssc/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (5 months ago) |
parents | 71360a13cd94 |
children |
rev | line source |
---|---|
pascal@7195 | 1 # SliTaz package receipt. |
pascal@7195 | 2 |
pascal@7195 | 3 PACKAGE="cssc" |
Hans-G?nter@22619 | 4 VERSION="1.4.1" |
pascal@7195 | 5 CATEGORY="development" |
Hans-G?nter@22619 | 6 TAGS="rcs sccs version-control versioning" |
pascal@7195 | 7 SHORT_DESC="GNU compatibly stupid source control : SCCS." |
pascal@7195 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15239 | 9 LICENSE="GPL3" |
Hans-G?nter@22619 | 10 WEB_SITE="https://www.gnu.org/software/cssc/" |
Hans-G?nter@22619 | 11 |
pascal@7195 | 12 SOURCE="CSSC" |
pascal@7195 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@7195 | 14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@15239 | 15 |
Hans-G?nter@22619 | 16 DEPENDS="gcc83-lib-base" |
Hans-G?nter@22619 | 17 BUILD_DEPENDS="gcc83" |
pascal@7195 | 18 |
pascal@24336 | 19 # What is the latest version available today? |
pascal@24336 | 20 current_version() |
pascal@24336 | 21 { |
pascal@25609 | 22 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \ |
pascal@24336 | 23 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 24 } |
pascal@24336 | 25 |
pascal@7195 | 26 # Rules to configure and make the package. |
pascal@7195 | 27 compile_rules() |
pascal@7195 | 28 { |
Hans-G?nter@22619 | 29 ./configure \ |
Hans-G?nter@22619 | 30 CC=gcc-83 \ |
Hans-G?nter@22619 | 31 CXX=g++-83 \ |
Hans-G?nter@22619 | 32 --prefix=/usr \ |
Hans-G?nter@22619 | 33 --infodir=/usr/share/info \ |
Hans-G?nter@22619 | 34 --libexecdir=/usr/lib/$PACKAGE \ |
Hans-G?nter@22619 | 35 --mandir=/usr/share/man \ |
Hans-G?nter@22619 | 36 --enable-binary \ |
pascal@15239 | 37 $CONFIGURE_ARGS && |
pascal@15265 | 38 make && |
pascal@15239 | 39 make DESTDIR=$DESTDIR install |
pascal@7195 | 40 } |
pascal@7195 | 41 |
pascal@7195 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7195 | 43 genpkg_rules() |
pascal@7195 | 44 { |
pascal@7195 | 45 mkdir -p $fs/usr |
Hans-G?nter@22619 | 46 |
Hans-G?nter@22619 | 47 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22619 | 48 cp -a $install/usr/lib $fs/usr |
pascal@7195 | 49 } |