wok view pyorbit/receipt @ rev 25362

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 28 07:24:59 2022 +0000 (2022-07-28)
parents 86790a278e70
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pyorbit"
4 VERSION="2.24.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Python binding to GNOME ORBit."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="python ORBit2"
14 BUILD_DEPENDS="python-dev ORBit2-dev pkg-config"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }