wok-current annotate xruskb/receipt @ rev 5008
[x-z]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 18:16:33 2010 +0100 (2010-02-28) |
parents | 348cea3a1476 |
children | 410630f6493d |
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@5008 | 8 DEPENDS="xorg lesstif freetype" |
pankso@1119 | 9 BUILD_DEPENDS="xorg-dev" |
pankso@1119 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@1119 | 11 WEB_SITE="http://www.yar.ru/~lav/programs.html" |
pankso@1119 | 12 WGET_URL="http://ftp.yars.free.net/pub/source/xruskb/$TARBALL" |
pankso@1119 | 13 |
pankso@1119 | 14 # Rules to configure and make the package. |
pankso@1119 | 15 compile_rules() |
pankso@1119 | 16 { |
pankso@1119 | 17 cd $src |
pankso@1119 | 18 ./configure \ |
pankso@1119 | 19 --prefix=/usr \ |
pankso@1119 | 20 --mandir=/usr/share/man \ |
pascal@5008 | 21 $CONFIGURE_ARGS && |
pascal@5008 | 22 make && |
pankso@1119 | 23 make DESTDIR=$PWD/_pkg install |
pankso@1119 | 24 } |
pankso@1119 | 25 |
pankso@1119 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1119 | 27 genpkg_rules() |
pankso@1119 | 28 { |
pankso@1119 | 29 mkdir -p $fs/usr/share |
pankso@1119 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@1119 | 31 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@1119 | 32 } |