wok diff qtermwidget/receipt @ rev 17487
Update some suggested
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 30 12:54:33 2014 +0100 (2014-12-30) |
parents | |
children | c0ce132ba4ee |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qtermwidget/receipt Tue Dec 30 12:54:33 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="qtermwidget" 1.7 +COMMIT="c12a3635127e5eb8e492f7a9c49500d8693565c0" 1.8 +VERSION="${COMMIT:0:7}" 1.9 +CATEGORY="system" 1.10 +SHORT_DESC="A Qt terminal widget" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="GPL2" 1.13 +WEB_SITE="https://github.com/qterminal/qtermwidget" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" 1.16 + 1.17 +DEPENDS="gcc-lib-base glibc-base" 1.18 +BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + mkdir build; cd build 1.24 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.25 + make && 1.26 + make DESTDIR=$install install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/lib $fs/usr/share 1.33 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.34 + cp -a $install/usr/share/qtermwidget4 $fs/usr/share 1.35 +}