wok-next annotate rdesktop/receipt @ rev 1313

Add apache
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 27 18:36:44 2008 +0000 (2008-08-27)
parents 00b8d39101ac
children c6efda65d904
rev   line source
pascal@63 1 # SliTaz package receipt.
pascal@63 2
pascal@63 3 PACKAGE="rdesktop"
pascal@858 4 VERSION="1.6.0"
pankso@203 5 CATEGORY="network"
pascal@152 6 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server"
pascal@63 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@63 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@63 9 WEB_SITE="http://rdesktop.sourceforge.net/"
pascal@63 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@63 11 DEPENDS="libcrypto xorg-libX11 glibc-base xorg-libXau xorg-libXdmcp"
pankso@158 12 BUILD_DEPENDS="openssl-dev xorg-libX11-dev xorg-dev-proto"
pascal@63 13
pascal@63 14 # Rules to configure and make the package.
pascal@63 15 compile_rules()
pascal@63 16 {
pascal@63 17 cd $src
pascal@63 18 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@63 19 $CONFIGURE_ARGS
pascal@63 20 make
pascal@63 21 make DESTDIR=$PWD/_pkg install
pascal@63 22 }
pascal@63 23
pascal@63 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@63 25 genpkg_rules()
pascal@63 26 {
pascal@63 27 mkdir -p $fs/usr/bin $fs/usr/share/rdesktop/keymaps
pascal@63 28 cp -a $_pkg/usr/bin/rdesktop $fs/usr/bin
pascal@63 29 for i in fr de en es it ja common modifiers; do
pascal@63 30 cp -a $_pkg/usr/share/rdesktop/keymaps/$i* \
pascal@63 31 $fs/usr/share/rdesktop/keymaps
pascal@63 32 done
pascal@63 33 strip -s $fs/usr/bin/*
pascal@63 34 }