wok-stable annotate xruskb/receipt @ rev 9022
geeqie: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 21:37:04 2011 +0100 (2011-03-03) |
parents | 410630f6493d |
children | 2f973edec121 |
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" |
slaxemulator@8956 | 8 DEPENDS="lesstif freetype xorg-libXp xorg-libXmu" |
slaxemulator@8956 | 9 BUILD_DEPENDS="xorg-libXp-dev xorg-libXmu-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 } |