wok-current annotate xruskb/receipt @ rev 14996
Add LGPL2.1 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 11:00:21 2013 +0000 (2013-08-10) |
parents | 24d921ddb3b6 |
children | eb8067417980 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@1119 | 9 WEB_SITE="http://www.yar.ru/~lav/programs.html" |
pankso@1119 | 10 WGET_URL="http://ftp.yars.free.net/pub/source/xruskb/$TARBALL" |
pankso@1119 | 11 |
pascal@10458 | 12 DEPENDS="lesstif freetype xorg-libXp xorg-libXmu" |
pascal@10458 | 13 BUILD_DEPENDS="xorg-libXp-dev xorg-libXmu-dev lesstif-dev" |
pascal@10458 | 14 |
pankso@1119 | 15 # Rules to configure and make the package. |
pankso@1119 | 16 compile_rules() |
pankso@1119 | 17 { |
pankso@1119 | 18 cd $src |
pankso@1119 | 19 ./configure \ |
pankso@1119 | 20 --prefix=/usr \ |
pankso@1119 | 21 --mandir=/usr/share/man \ |
pascal@5008 | 22 $CONFIGURE_ARGS && |
pascal@5008 | 23 make && |
pankso@1119 | 24 make DESTDIR=$PWD/_pkg install |
pankso@1119 | 25 } |
pankso@1119 | 26 |
pankso@1119 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1119 | 28 genpkg_rules() |
pankso@1119 | 29 { |
pankso@1119 | 30 mkdir -p $fs/usr/share |
pankso@1119 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@1119 | 32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@1119 | 33 } |