wok view tint2/receipt @ rev 24692

updated jsoncpp (1.9.2 -> 1.9.5)
author Hans-G?nter Theisgen
date Sat Mar 12 15:46:33 2022 +0100 (2022-03-12)
parents f8a963794d31
children e717a4953b0e
line source
1 # SliTaz package receipt.
3 PACKAGE="tint2"
4 VERSION="0.12.2"
5 CATEGORY="misc"
6 SHORT_DESC="Lightweight panel/taskbar for Linux"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gitlab.com/o9000/tint2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/repository/archive.tar.gz?ref=$VERSION"
12 BRANCH="$VERSION"
13 CONFIG_FILES="/etc/xdg/tint2/tint2rc"
14 TAGS="desktop panel taskbar"
15 #HOST_ARCH="i486 arm"
17 DEPENDS="gtk+ imlib2 librsvg startup-notification"
18 BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \
19 librsvg-dev"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/repo*}/-/tags 2>/dev/null | \
24 sed '/tar.gz/!d;/data/d;s|.*/tint2-v*\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cp -af $stuff/get_version.sh $src
31 export VERSION
33 mkdir build && cd build &&
34 cmake \
35 -DCMAKE_INSTALL_PREFIX=/usr \
36 $ARCH_ARGS .. &&
37 make && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 # Use custom configured theme instead
45 cp -f $stuff/tint2rc $fs/etc/xdg/tint2/tint2rc
47 rm -r $fs/usr/share/doc $fs/usr/share/locale $fs/usr/share/man
48 }