wok-current view pyorbit/receipt @ rev 24722
updated libcaca and libcaca-dev (0.99.beta19 -> 0.99.beta20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 10:03:33 2022 +0100 (2022-03-15) |
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 }