wok-next view tint2/receipt @ rev 18596
libsdl: fix post_install() status
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 13 17:31:47 2015 +0200 (2015-11-13) |
parents | d504756dc474 |
children | 8fb25de2cba7 |
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 }