wok annotate xruskb/receipt @ rev 2054
fix CATEGORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 20 17:33:00 2009 +0000 (2009-01-20) |
parents | |
children | 413b0174114a |
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" |
pankso@1119 | 8 DEPENDS="xorg" |
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 \ |
pankso@1119 | 21 $CONFIGURE_ARGS |
pankso@1119 | 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 } |