wok-6.x annotate qxkb/receipt @ rev 17939
partimage: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 15 09:53:08 2015 +0200 (2015-04-15) |
parents | |
children | 6135577f4d08 |
rev | line source |
---|---|
al@15192 | 1 # SliTaz package receipt. |
al@15192 | 2 |
al@15192 | 3 PACKAGE="qxkb" |
al@15192 | 4 VERSION="0.4.6" |
al@15192 | 5 CATEGORY="base-system" |
al@15192 | 6 SHORT_DESC="The keypad switch written on Qt4" |
al@15192 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@15192 | 8 LICENSE="GPL3" |
al@15192 | 9 WEB_SITE="http://code.google.com/p/qxkb/" |
al@15192 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@15192 | 11 WGET_URL="http://qxkb.googlecode.com/files/$TARBALL" |
al@15192 | 12 |
al@15192 | 13 DEPENDS="glibc-base libQtSvg xorg-libxkbfile" |
al@15192 | 14 BUILD_DEPENDS="cmake Qt4-dev xorg-libxkbfile-dev qmake" |
al@15192 | 15 |
al@15192 | 16 # Rules to configure and make the package. |
al@15192 | 17 compile_rules() |
al@15192 | 18 { |
al@15192 | 19 mkdir build && cd build |
al@15192 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@15192 | 21 make && make install |
al@15192 | 22 } |
al@15192 | 23 |
al@15192 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@15192 | 25 genpkg_rules() |
al@15192 | 26 { |
al@15192 | 27 cp -a $install/* $fs |
al@15192 | 28 } |