wok annotate qterminal/receipt @ rev 20055
syslinux: add Ukraine
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 08 11:06:48 2017 +0200 (2017-09-08) |
parents | 5d53e8ccbc8d |
children | fa1a940c727c |
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@17516 | 6 CATEGORY="system-tools" |
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@17501 | 15 TAGS="terminal" |
al@16808 | 16 |
al@16808 | 17 DEPENDS="libQtCore libQtGui xorg-libX11 qtermwidget" |
al@16808 | 18 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake qtermwidget-dev xorg-libX11-dev" |
al@16808 | 19 |
al@16808 | 20 # Rules to configure and make the package. |
al@16808 | 21 compile_rules() |
al@16808 | 22 { |
al@16808 | 23 mkdir build; cd build |
al@16808 | 24 cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_SYSTEM_QXT=0 .. && |
al@16808 | 25 make && |
al@16808 | 26 make DESTDIR=$install install |
al@16808 | 27 } |
al@16808 | 28 |
al@16808 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16808 | 30 genpkg_rules() |
al@16808 | 31 { |
al@16808 | 32 mkdir -p $fs/usr/share |
al@16808 | 33 cp -a $install/usr/bin $fs/usr |
al@16808 | 34 cp -a $install/usr/share/applications $fs/usr/share |
al@16808 | 35 |
al@16808 | 36 sed -i 's|^Icon=.*$|Icon=terminal|g' $fs/usr/share/applications/*.desktop |
al@16808 | 37 } |