wok-6.x view qtermwidget/receipt @ rev 18145
Add defragfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 18 16:31:01 2015 +0200 (2015-06-18) |
parents | 345677019f4e |
children | 6135577f4d08 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qtermwidget"
4 COMMIT="c12a3635127e5eb8e492f7a9c49500d8693565c0"
5 VERSION="${COMMIT:0:7}"
6 CATEGORY="system-tools"
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 }