wok view cssc/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 8d95e2627925
children d79ed38ace18
line source
1 # SliTaz package receipt.
3 PACKAGE="cssc"
4 VERSION="1.4.1"
5 CATEGORY="development"
6 TAGS="rcs sccs version-control versioning"
7 SHORT_DESC="GNU compatibly stupid source control : SCCS."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/cssc/"
12 SOURCE="CSSC"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
16 DEPENDS="gcc83-lib-base"
17 BUILD_DEPENDS="gcc83"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --libexecdir=/usr/lib/$PACKAGE \
35 --mandir=/usr/share/man \
36 --enable-binary \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib $fs/usr
49 }