wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="qtermwidget"
4 COMMIT="c12a3635127e5eb8e492f7a9c49500d8693565c0"
5 VERSION="${COMMIT:0:7}"
6 CATEGORY="system"
7 SHORT_DESC="A Qt terminal widget"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/qterminal/qtermwidget"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
14 DEPENDS="gcc-lib-base glibc-base"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build; cd build
21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
22 make &&
23 make DESTDIR=$install install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 cp -a $install/usr/share/qtermwidget4 $fs/usr/share
32 }