wok-current annotate tint2/receipt @ rev 17844
Up libcups cups-doc (2.0.2)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Mar 24 01:34:13 2015 -0400 (2015-03-24) |
parents | 380ffe05937a |
children | 1c8303b6f511 |
rev | line source |
---|---|
jozee@2766 | 1 # SliTaz package receipt. |
jozee@2766 | 2 |
jozee@2766 | 3 PACKAGE="tint2" |
slaxemulator@6623 | 4 VERSION="0.11" |
jozee@2766 | 5 CATEGORY="misc" |
jozee@2766 | 6 SHORT_DESC="taskbar and panel" |
jozee@2766 | 7 MAINTAINER="jozee@slitaz.org" |
slaxemulator@6623 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15000 | 9 LICENSE="GPL2" |
jozee@2766 | 10 WEB_SITE="http://tint2.googlecode.com/files/" |
jozee@2766 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
rocky@3576 | 12 CONFIG_FILES="/etc/xdg/tint2/tint2rc" |
jozee@4973 | 13 TAGS="desktop panel taskbar" |
pankso@16169 | 14 HOST_ARCH="i486 arm" |
jozee@2766 | 15 |
pankso@9854 | 16 DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype" |
pankso@16169 | 17 BUILD_DEPENDS="cairo-dev pango-dev glib-dev imlib2-dev xorg-libXinerama-dev \ |
pankso@16169 | 18 xcb-util-dev freetype-dev" |
pankso@16169 | 19 |
pankso@16169 | 20 # Handle cross compilation |
pankso@16169 | 21 case "$ARCH" in |
pankso@16169 | 22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS pygtk-dev cmake pkg-config" ;; |
pankso@16169 | 23 arm*) ARCH_ARGS="-DENABLE_TINT2CONF=OFF" ;; |
pankso@16169 | 24 esac |
pankso@9854 | 25 |
jozee@2766 | 26 # Rules to configure and make the package. |
jozee@2766 | 27 compile_rules() |
jozee@2766 | 28 { |
pankso@16169 | 29 mkdir build && cd build |
pankso@16169 | 30 cmake \ |
pankso@16169 | 31 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@16169 | 32 $ARCH_ARGS .. && |
pankso@16169 | 33 make && make install |
jozee@2766 | 34 } |
jozee@2766 | 35 |
jozee@2766 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2766 | 37 genpkg_rules() |
jozee@2766 | 38 { |
rocky@3576 | 39 mkdir -p $fs/usr |
pascal@15000 | 40 cp -a $install/etc $fs |
pascal@15000 | 41 cp -a $install/usr/bin $fs/usr |
jozee@2766 | 42 } |