wok-6.x rev 16808
Add qterminal.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 09 21:17:27 2014 +0300 (2014-07-09) |
parents | 34b9552c3539 |
children | 58cf8cd855e3 |
files | qterminal/receipt qtermwidget-dev/receipt qtermwidget/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qterminal/receipt Wed Jul 09 21:17:27 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 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/qtermwidget-dev/receipt Wed Jul 09 21:17:27 2014 +0300 2.3 @@ -0,0 +1,22 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="qtermwidget-dev" 2.7 +COMMIT="c12a3635127e5eb8e492f7a9c49500d8693565c0" 2.8 +VERSION="${COMMIT:0:7}" 2.9 +CATEGORY="development" 2.10 +SHORT_DESC="Development files for qtermwidget" 2.11 +MAINTAINER="al.bobylev@gmail.com" 2.12 +LICENSE="GPL2" 2.13 +WEB_SITE="https://github.com/qterminal/qtermwidget" 2.14 + 2.15 +WANTED="qtermwidget" 2.16 +DEPENDS="qtermwidget" 2.17 + 2.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.19 +genpkg_rules() 2.20 +{ 2.21 + mkdir -p $fs/usr/lib $fs/usr/share 2.22 + cp -a $install/usr/include $fs/usr 2.23 + cp -a $install/usr/lib/pkgconfig $install/usr/lib/qt4 $fs/usr/lib 2.24 + cp -a $install/usr/share/cmake $fs/usr/share 2.25 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/qtermwidget/receipt Wed Jul 09 21:17:27 2014 +0300 3.3 @@ -0,0 +1,32 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="qtermwidget" 3.7 +COMMIT="c12a3635127e5eb8e492f7a9c49500d8693565c0" 3.8 +VERSION="${COMMIT:0:7}" 3.9 +CATEGORY="system" 3.10 +SHORT_DESC="A Qt terminal widget" 3.11 +MAINTAINER="al.bobylev@gmail.com" 3.12 +LICENSE="GPL2" 3.13 +WEB_SITE="https://github.com/qterminal/qtermwidget" 3.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.15 +WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" 3.16 + 3.17 +DEPENDS="gcc-lib-base glibc-base" 3.18 +BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake" 3.19 + 3.20 +# Rules to configure and make the package. 3.21 +compile_rules() 3.22 +{ 3.23 + mkdir build; cd build 3.24 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 3.25 + make && 3.26 + make DESTDIR=$install install 3.27 +} 3.28 + 3.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.30 +genpkg_rules() 3.31 +{ 3.32 + mkdir -p $fs/usr/lib $fs/usr/share 3.33 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.34 + cp -a $install/usr/share/qtermwidget4 $fs/usr/share 3.35 +}