wok-current annotate xruskb/receipt @ rev 19643

linld: fix cpuhaslm (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 21 12:01:33 2017 +0100 (2017-01-21)
parents 2f973edec121
children 6135577f4d08
rev   line source
pankso@1119 1 # SliTaz package receipt
pankso@1119 2
pankso@1119 3 PACKAGE="xruskb"
pankso@1119 4 VERSION="1.15.4"
pankso@1119 5 CATEGORY="x-window"
pankso@1119 6 SHORT_DESC="Keyboard switcher for russian/czech"
pankso@1119 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
pankso@1119 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@1119 10 WEB_SITE="http://www.yar.ru/~lav/programs.html"
pankso@1119 11 WGET_URL="http://ftp.yars.free.net/pub/source/xruskb/$TARBALL"
pankso@1119 12
pascal@10458 13 DEPENDS="lesstif freetype xorg-libXp xorg-libXmu"
pascal@10458 14 BUILD_DEPENDS="xorg-libXp-dev xorg-libXmu-dev lesstif-dev"
pascal@10458 15
pankso@1119 16 # Rules to configure and make the package.
pankso@1119 17 compile_rules()
pankso@1119 18 {
pankso@1119 19 cd $src
pankso@1119 20 ./configure \
pankso@1119 21 --prefix=/usr \
pankso@1119 22 --mandir=/usr/share/man \
pascal@5008 23 $CONFIGURE_ARGS &&
pascal@5008 24 make &&
pascal@15579 25 make DESTDIR=$DESTDIR install
pankso@1119 26 }
pankso@1119 27
pankso@1119 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1119 29 genpkg_rules()
pankso@1119 30 {
pankso@1119 31 mkdir -p $fs/usr/share
pascal@15579 32 cp -a $install/usr/bin $fs/usr
pascal@15579 33 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@1119 34 }