wok-current view libgtop/receipt @ rev 24618

updated gphoto2 (2.5.23 -> 2.5.28)
author Hans-G?nter Theisgen
date Mon Mar 07 09:50:09 2022 +0100 (2022-03-07)
parents 6e8b1bcb30e2
children 2185de1303cc
line source
1 # SliTaz package receipt.
3 PACKAGE="libgtop"
4 VERSION="2.28.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Librairies for GNOME"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.gnome.org"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="glib"
14 BUILD_DEPENDS="glib-dev intltool"
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 sed -i 's|uname -m|echo i486|' src/Makefile* src/daemon/Makefile*
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }