wok annotate libvncserver/receipt @ rev 24893
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 07 17:00:12 2022 +0000 (2022-04-07) |
parents | d88fe67c4f82 |
children | 7dd01dedad38 |
rev | line source |
---|---|
slaxemulator@6742 | 1 # SliTaz package receipt. |
slaxemulator@6742 | 2 |
slaxemulator@6742 | 3 PACKAGE="libvncserver" |
pascal@14856 | 4 VERSION="0.9.9" |
slaxemulator@6742 | 5 CATEGORY="network" |
slaxemulator@6742 | 6 SHORT_DESC="The vnc library" |
slaxemulator@6742 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14718 | 8 LICENSE="GPL2" |
slaxemulator@6742 | 9 SOURCE="LibVNCServer" |
slaxemulator@6742 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@6742 | 11 WEB_SITE="http://libvncserver.sourceforge.net/" |
slaxemulator@6742 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6742 | 13 |
pascal@14856 | 14 DEPENDS="jpeg zlib libssl" |
pascal@14857 | 15 BUILD_DEPENDS="jpeg-dev zlib openssl-dev" |
pascal@14718 | 16 |
pascal@24411 | 17 # What is the latest version available today? |
pascal@24411 | 18 current_version() |
pascal@24411 | 19 { |
pascal@24411 | 20 wget -O - https://sourceforge.net/projects/libvncserver/files/libvncserver/ 2>/dev/null | \ |
pascal@24411 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 22 sed '/scope="row/!d;s|.*/libvncserver/||;s|/.*||;q' |
pascal@24411 | 23 } |
pascal@24411 | 24 |
slaxemulator@6742 | 25 # Rules to configure and make the package. |
slaxemulator@6742 | 26 compile_rules() |
slaxemulator@6742 | 27 { |
slaxemulator@6742 | 28 cd $src |
slaxemulator@6742 | 29 ./configure \ |
slaxemulator@6742 | 30 $CONFIGURE_ARGS && |
slaxemulator@10189 | 31 make && make install |
slaxemulator@6742 | 32 } |
slaxemulator@6742 | 33 |
slaxemulator@6742 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6742 | 35 genpkg_rules() |
slaxemulator@6742 | 36 { |
slaxemulator@6742 | 37 mkdir -p $fs/usr/lib |
pascal@14718 | 38 cp -a $install/usr/bin $fs/usr |
pascal@14718 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6742 | 40 } |
slaxemulator@6742 | 41 |