wok-6.x annotate cssc/receipt @ rev 24632
updated gtick (0.5.4 -> 0.5.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 16:23:11 2022 +0100 (2022-03-08) |
parents | 8d95e2627925 |
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@24336 | 22 wget -O - ${WGET_URL%/*} 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 } |