wok annotate tint2/receipt @ rev 18471
syslinux: receipt formatting (Pascal already removed lines, so it is :)
help.en: 4000 -> 5000 packages
help.en: 4000 -> 5000 packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Oct 03 16:36:26 2015 +0300 (2015-10-03) |
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 } |