wok-6.x annotate ptlib/receipt @ rev 24078

gst-plugins-bad, gst-plugins-good, gst-plugins-base-1.0: typo (!)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 08 16:53:11 2021 +0000 (2021-07-08)
parents bdb6e157e578
children a3c45ab9082e
rev   line source
pascal@1419 1 # SliTaz package receipt.
pascal@1419 2
pascal@1419 3 PACKAGE="ptlib"
Hans-G?nter@21720 4 VERSION="2.10.11"
pascal@1419 5 CATEGORY="network"
pascal@1419 6 SHORT_DESC="Portable Tools Library for unix and windows."
pascal@1419 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15376 8 LICENSE="MPL"
pascal@20669 9 WEB_SITE="https://www.ekiga.org/"
Hans-G?nter@21720 10
Hans-G?nter@21720 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@5465 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@15376 13
Hans-G?nter@21720 14 DEPENDS="alsa-lib cyrus-sasl expat libdv libraw1394 libsdl \
Hans-G?nter@21720 15 libunixODBC openssl"
Hans-G?nter@21720 16 BUILD_DEPENDS="alsa-lib-dev cyrus-sasl-dev flex openssl-dev \
Hans-G?nter@21720 17 pkg-config zlib-dev"
pascal@1419 18
pascal@1419 19 # Rules to configure and make the package.
pascal@1419 20 compile_rules()
pascal@1419 21 {
pascal@23890 22 patch -p1 < $stuff/ptlib-2.10.10-mga-bison-parameter.patch
pascal@23890 23 sed -i 's|.(Q_LD).*|echo &\n\t&|' make/lib.mak
Hans-G?nter@21720 24 ./configure \
Hans-G?nter@21720 25 --prefix=/usr \
Hans-G?nter@21720 26 --bindir=/bin \
Hans-G?nter@21720 27 --libexecdir=/usr/bin \
Hans-G?nter@21720 28 --mandir=/usr/share/man \
Hans-G?nter@21720 29 $CONFIGURE_ARGS &&
pascal@1533 30 make &&
pascal@15376 31 make DESTDIR=$DESTDIR install
pascal@1419 32 }
pascal@1419 33
pascal@1419 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1419 35 genpkg_rules()
pascal@1419 36 {
pascal@1419 37 mkdir -p $fs/usr
Hans-G?nter@21720 38
Hans-G?nter@21720 39 cp -a $install/usr/lib $fs/usr
Hans-G?nter@21720 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21720 41 cp -a $install/usr/share $fs/usr
pascal@1419 42 }