wok view marco/receipt @ rev 25769
libmaxminddb, ndpi: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 09:45:40 2024 +0000 (3 months ago) |
parents | 73f36875e5a7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="marco"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="A window manager for MATE Desktop."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 DEPENDS="gtk+ libcanberra libgtop xorg-libICE xorg-libSM \
14 xorg-libXt startup-notification mate-desktop"
15 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool gtk-doc \
16 mate-common-dev mate-desktop-dev libcanberra-dev libgtop-dev yelp-tools \
17 xorg-libICE-dev xorg-libSM-dev xorg-libXt-dev startup-notification-dev \
18 util-linux-uuid-dev zenity xcb-util-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./autogen.sh \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 --localstatedir=/var \
34 --disable-static \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/glib-2.0 $fs/usr/share
45 cp -a $install/usr/share/MateConf $fs/usr/share
46 cp -a $install/usr/share/mate* $fs/usr/share
47 cp -a $install/usr/share/themes $fs/usr/share
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 }