wok annotate libvncserver/receipt @ rev 7705

openssl: disable MAKEFLAGS & change configure options
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Dec 19 13:52:20 2010 +0100 (2010-12-19)
parents
children d512c6cf3825
rev   line source
slaxemulator@6742 1 # SliTaz package receipt.
slaxemulator@6742 2
slaxemulator@6742 3 PACKAGE="libvncserver"
slaxemulator@6742 4 VERSION="0.9.7"
slaxemulator@6742 5 CATEGORY="network"
slaxemulator@6742 6 SHORT_DESC="The vnc library"
slaxemulator@6742 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6742 8 DEPENDS="jpeg zlib"
slaxemulator@6742 9 BUILD_DEPENDS="jpeg-dev zlib"
slaxemulator@6742 10 SOURCE="LibVNCServer"
slaxemulator@6742 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@6742 12 WEB_SITE="http://libvncserver.sourceforge.net/"
slaxemulator@6742 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6742 14
slaxemulator@6742 15 # Rules to configure and make the package.
slaxemulator@6742 16 compile_rules()
slaxemulator@6742 17 {
slaxemulator@6742 18 cd $src
slaxemulator@6742 19 ./configure \
slaxemulator@6742 20 --prefix=/usr \
slaxemulator@6742 21 --infodir=/usr/share/info \
slaxemulator@6742 22 --mandir=/usr/share/man \
slaxemulator@6742 23 $CONFIGURE_ARGS &&
slaxemulator@6742 24 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6742 25 }
slaxemulator@6742 26
slaxemulator@6742 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6742 28 genpkg_rules()
slaxemulator@6742 29 {
slaxemulator@6742 30 mkdir -p $fs/usr/lib
slaxemulator@6742 31 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6742 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6742 33 }
slaxemulator@6742 34