wok-6.x view rapidsvn/receipt @ rev 24938
mypaint-brushes: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 09:10:40 2022 +0000 (2022-04-14) |
parents | 2f230197370e |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rapidsvn"
4 VERSION="0.12.1"
5 CATEGORY="development"
6 SHORT_DESC="A cross-platform GUI front-end for the Subversion revision system."
7 MAINTAINER="stefanossofroniou542@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://rapidsvn.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.rapidsvn.org/download/release/$VERSION/$TARBALL"
12 TAGS="subversion svn version-control versioning"
14 DEPENDS="wxWidgets28 libsvn apr libltdl xorg-libXxf86vm libproxy libsqlite \
15 libsasl apr-util"
16 BUILD_DEPENDS="$DEPENDS libtool wxWidgets28-dev subversion-dev apr-dev \
17 apr-util-dev cyrus-sasl-dev neon-dev libproxy-dev sqlite-dev expat-dev python \
18 util-linux-uuid-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/latest/!d;s|.*version: ||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cp $stuff/client_ls.cpp src/svncpp/client_ls.cpp
31 ./configure --prefix=/usr \
32 --with-apr-config=apr-1-config \
33 --with-apu-config=apu-1-config \
34 --with-neon-config=neon-config \
35 --with-wx-config=wx-config \
36 --with-svn-include=/usr/include \
37 --with-svn-lib=/usr/lib \
38 $CONFIGURE_ARGS &&
39 make && make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 }