wok view tint2/receipt @ rev 19642
linld: fix cpuhaslm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 21 09:21:18 2017 +0100 (2017-01-21) |
parents | d504756dc474 |
children | dc0f7fd1ff7d |
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 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cp -af $stuff/get_version.sh $src
25 export VERSION
27 mkdir build && cd build &&
28 cmake \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 $ARCH_ARGS .. &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 # Use custom configured theme instead
39 cp -f $stuff/tint2rc $fs/etc/xdg/tint2/tint2rc
41 rm -r $fs/usr/share/doc $fs/usr/share/locale $fs/usr/share/man
42 }