wok view cvs/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 4228409cad42 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cvs"
4 VERSION="1.12.13"
5 CATEGORY="development"
6 TAGS="version-control versioning"
7 SHORT_DESC="Concurrent Versions System"
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://nongnu.org/cvs/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://ftp.gnu.org/non-gnu/$PACKAGE/source/feature/$VERSION/$TARBALL"
15 DEPENDS="libcomerr libcomerr3 libcrypto libkrb5"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
21 sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 -C \
29 --prefix=/usr \
30 --with-ssh \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make -j 1 DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin
41 cp -a $install/usr/bin/cvs* $fs/usr/bin
42 }