wok annotate opal/receipt @ rev 25125
updated apache-mod-wsgi (4.6.5 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:29:10 2022 +0100 (2022-06-28) |
parents | 6831608a1b2a |
children |
rev | line source |
---|---|
pascal@302 | 1 # SliTaz package receipt. |
pascal@302 | 2 |
pascal@302 | 3 PACKAGE="opal" |
Hans-G?nter@25011 | 4 VERSION="3.10.10" |
pascal@302 | 5 CATEGORY="network" |
Hans-G?nter@25011 | 6 TAGS="telephony" |
pascal@302 | 7 SHORT_DESC="Open Phone Abstraction library." |
pascal@302 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 9 LICENSE="MPL" |
Hans-G?nter@25011 | 10 WEB_SITE="http://www.opalvoip.org/" |
Hans-G?nter@25011 | 11 REPOLOGY="opal-voip" |
pascal@15601 | 12 |
Hans-G?nter@25011 | 13 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@25011 | 14 WGET_URL="https://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
Hans-G?nter@25011 | 15 |
Hans-G?nter@25011 | 16 DEPENDS="cyrus-sasl expat jpeg libogg libsdl libtheora libunixODBC |
Hans-G?nter@25011 | 17 openssl ptlib tiff zlib" |
Hans-G?nter@25011 | 18 BUILD_DEPENDS="bash openssl-dev ptlib ptlib-dev" |
pascal@302 | 19 |
pascal@24111 | 20 current_version() |
pascal@24111 | 21 { |
pascal@24111 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 24 } |
pascal@24111 | 25 |
pascal@302 | 26 # Rules to configure and make the package. |
pascal@302 | 27 compile_rules() |
pascal@302 | 28 { |
Hans-G?nter@25011 | 29 export SHELL=/bin/bash |
Hans-G?nter@25011 | 30 export CONFIG_SHELL=/bin/bash |
Hans-G?nter@25011 | 31 |
Hans-G?nter@25011 | 32 ./configure \ |
Hans-G?nter@25011 | 33 --prefix=/usr \ |
Hans-G?nter@25011 | 34 --bindir=/bin \ |
Hans-G?nter@25011 | 35 --libexecdir=/usr/bin \ |
Hans-G?nter@25011 | 36 --mandir=/usr/share/man \ |
Hans-G?nter@25011 | 37 --enable-video \ |
Hans-G?nter@25011 | 38 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 39 make $MAKEFLAGS && |
Hans-G?nter@25011 | 40 make install DESTDIR=$DESTDIR |
pascal@302 | 41 } |
pascal@302 | 42 |
pascal@302 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@302 | 44 genpkg_rules() |
pascal@302 | 45 { |
pascal@302 | 46 mkdir -p $fs/usr |
Hans-G?nter@25011 | 47 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@25011 | 48 rm -f $fs/usr/lib/*.a |
pascal@302 | 49 } |