wok-current annotate qterminal/receipt @ rev 17407
ola: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 18:21:40 2014 +0100 (2014-11-28) |
parents | |
children | 5d53e8ccbc8d |
rev | line source |
---|---|
al@16808 | 1 # SliTaz package receipt. |
al@16808 | 2 |
al@16808 | 3 PACKAGE="qterminal" |
al@16808 | 4 COMMIT="fff3774510ac437b8635f8a0b6c2d7f20b9cef86" |
al@16808 | 5 VERSION="${COMMIT:0:7}" |
al@16808 | 6 CATEGORY="system" |
al@16808 | 7 SHORT_DESC="A Qt based terminal" |
al@16808 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@16808 | 9 LICENSE="GPL2" |
al@16808 | 10 WEB_SITE="https://github.com/qterminal/qterminal" |
al@16808 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16808 | 12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" |
al@16808 | 13 GENERIC_PIXMAPS="no" |
al@16808 | 14 GENERIC_MENUS="no" |
al@16808 | 15 |
al@16808 | 16 DEPENDS="libQtCore libQtGui xorg-libX11 qtermwidget" |
al@16808 | 17 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake qtermwidget-dev xorg-libX11-dev" |
al@16808 | 18 |
al@16808 | 19 # Rules to configure and make the package. |
al@16808 | 20 compile_rules() |
al@16808 | 21 { |
al@16808 | 22 mkdir build; cd build |
al@16808 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_SYSTEM_QXT=0 .. && |
al@16808 | 24 make && |
al@16808 | 25 make DESTDIR=$install install |
al@16808 | 26 } |
al@16808 | 27 |
al@16808 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16808 | 29 genpkg_rules() |
al@16808 | 30 { |
al@16808 | 31 mkdir -p $fs/usr/share |
al@16808 | 32 cp -a $install/usr/bin $fs/usr |
al@16808 | 33 cp -a $install/usr/share/applications $fs/usr/share |
al@16808 | 34 |
al@16808 | 35 sed -i 's|^Icon=.*$|Icon=terminal|g' $fs/usr/share/applications/*.desktop |
al@16808 | 36 } |