wok-current annotate opal/receipt @ rev 24614
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 06 21:04:14 2022 +0000 (2022-03-06) |
parents | a78610b2eb47 |
children | 61d8634c86c3 |
rev | line source |
---|---|
pascal@302 | 1 # SliTaz package receipt. |
pascal@302 | 2 |
pascal@302 | 3 PACKAGE="opal" |
pascal@5461 | 4 VERSION="3.6.6" |
pascal@302 | 5 CATEGORY="network" |
pascal@302 | 6 SHORT_DESC="Open Phone Abstraction library." |
pascal@302 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="MPL" |
pankso@3167 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 10 WEB_SITE="https://www.ekiga.org/" |
pascal@5465 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@15601 | 12 TAGS="telephony" |
pascal@15601 | 13 |
pankso@3425 | 14 DEPENDS="cyrus-sasl expat jpeg libsdl libogg libtheora libunixODBC \ |
pascal@2459 | 15 openssl ptlib tiff zlib" |
devl547@5515 | 16 BUILD_DEPENDS="ptlib ptlib-dev openssl-dev" |
pascal@302 | 17 |
pascal@24111 | 18 current_version() |
pascal@24111 | 19 { |
pascal@24111 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 22 } |
pascal@24111 | 23 |
pascal@302 | 24 # Rules to configure and make the package. |
pascal@302 | 25 compile_rules() |
pascal@302 | 26 { |
pascal@302 | 27 cd $src |
pascal@302 | 28 ./configure --prefix=/usr --bindir=/bin \ |
pascal@302 | 29 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@1532 | 30 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 31 make $MAKEFLAGS && |
pascal@15601 | 32 make DESTDIR=$DESTDIR install |
pascal@302 | 33 } |
pascal@302 | 34 |
pascal@302 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@302 | 36 genpkg_rules() |
pascal@302 | 37 { |
pascal@302 | 38 mkdir -p $fs/usr |
pascal@15601 | 39 cp -a $install/usr/lib $fs/usr |
pascal@1532 | 40 rm -f $fs/usr/lib/*.a |
pascal@302 | 41 } |