wok-6.x annotate qtermwidget/receipt @ rev 17680
Rollback socat
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Feb 19 12:49:41 2015 -0200 (2015-02-19) |
parents | 345677019f4e |
children | 6135577f4d08 |
rev | line source |
---|---|
al@16808 | 1 # SliTaz package receipt. |
al@16808 | 2 |
al@16808 | 3 PACKAGE="qtermwidget" |
al@16808 | 4 COMMIT="c12a3635127e5eb8e492f7a9c49500d8693565c0" |
al@16808 | 5 VERSION="${COMMIT:0:7}" |
al@17516 | 6 CATEGORY="system-tools" |
al@16808 | 7 SHORT_DESC="A Qt terminal widget" |
al@16808 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@16808 | 9 LICENSE="GPL2" |
al@16808 | 10 WEB_SITE="https://github.com/qterminal/qtermwidget" |
al@16808 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16808 | 12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" |
al@16808 | 13 |
al@16808 | 14 DEPENDS="gcc-lib-base glibc-base" |
al@16808 | 15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake" |
al@16808 | 16 |
al@16808 | 17 # Rules to configure and make the package. |
al@16808 | 18 compile_rules() |
al@16808 | 19 { |
al@16808 | 20 mkdir build; cd build |
al@16808 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16808 | 22 make && |
al@16808 | 23 make DESTDIR=$install install |
al@16808 | 24 } |
al@16808 | 25 |
al@16808 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16808 | 27 genpkg_rules() |
al@16808 | 28 { |
al@16808 | 29 mkdir -p $fs/usr/lib $fs/usr/share |
al@16808 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16808 | 31 cp -a $install/usr/share/qtermwidget4 $fs/usr/share |
al@16808 | 32 } |