wok-next diff qterminal/receipt @ rev 16860
Up atk (2.7.5)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sun Jul 13 03:44:48 2014 -0300 (2014-07-13) |
parents | |
children | 5d53e8ccbc8d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qterminal/receipt Sun Jul 13 03:44:48 2014 -0300 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="qterminal" 1.7 +COMMIT="fff3774510ac437b8635f8a0b6c2d7f20b9cef86" 1.8 +VERSION="${COMMIT:0:7}" 1.9 +CATEGORY="system" 1.10 +SHORT_DESC="A Qt based terminal" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="GPL2" 1.13 +WEB_SITE="https://github.com/qterminal/qterminal" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" 1.16 +GENERIC_PIXMAPS="no" 1.17 +GENERIC_MENUS="no" 1.18 + 1.19 +DEPENDS="libQtCore libQtGui xorg-libX11 qtermwidget" 1.20 +BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake qtermwidget-dev xorg-libX11-dev" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + mkdir build; cd build 1.26 + cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_SYSTEM_QXT=0 .. && 1.27 + make && 1.28 + make DESTDIR=$install install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/share 1.35 + cp -a $install/usr/bin $fs/usr 1.36 + cp -a $install/usr/share/applications $fs/usr/share 1.37 + 1.38 + sed -i 's|^Icon=.*$|Icon=terminal|g' $fs/usr/share/applications/*.desktop 1.39 +}