wok annotate libvncserver/receipt @ rev 12920
elementary: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 29 22:10:29 2012 +0200 (2012-05-29) |
parents | d512c6cf3825 |
children | 6eff489aa802 |
rev | line source |
---|---|
slaxemulator@6742 | 1 # SliTaz package receipt. |
slaxemulator@6742 | 2 |
slaxemulator@6742 | 3 PACKAGE="libvncserver" |
slaxemulator@12425 | 4 VERSION="0.9.8.2" |
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 $CONFIGURE_ARGS && |
slaxemulator@10189 | 21 make && make install |
slaxemulator@6742 | 22 } |
slaxemulator@6742 | 23 |
slaxemulator@6742 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6742 | 25 genpkg_rules() |
slaxemulator@6742 | 26 { |
slaxemulator@6742 | 27 mkdir -p $fs/usr/lib |
slaxemulator@6742 | 28 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6742 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6742 | 30 } |
slaxemulator@6742 | 31 |