wok-6.x view ptlib/receipt @ rev 24397

updated cc65 (2.18 -> 2.19)
author Hans-G?nter Theisgen
date Tue Feb 08 13:39:16 2022 +0100 (2022-02-08)
parents 78bc4b109dd6
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ptlib"
4 VERSION="2.10.11"
5 CATEGORY="network"
6 SHORT_DESC="Portable Tools Library for unix and windows."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MPL"
9 WEB_SITE="https://www.ekiga.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="alsa-lib cyrus-sasl expat libdv libraw1394 libsdl \
15 libunixODBC openssl"
16 BUILD_DEPENDS="alsa-lib-dev cyrus-sasl-dev flex openssl-dev \
17 pkg-config zlib-dev"
19 current_version()
20 {
21 local base=http://ftp.gnome.org/pub/gnome/sources/$PACKAGE
22 wget -O - $base/$(wget -O - $base 2>/dev/null | \
23 sed '/href=.[0-9]/!d;s|.*href=.||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
24 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 patch -p1 < $stuff/ptlib-2.10.10-mga-bison-parameter.patch
31 sed -i 's|.(Q_LD).*|echo &\n\t&|' make/lib.mak
32 ./configure \
33 --prefix=/usr \
34 --bindir=/bin \
35 --libexecdir=/usr/bin \
36 --mandir=/usr/share/man \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
47 cp -a $install/usr/lib $fs/usr
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share $fs/usr
50 }