wok annotate libnice/receipt @ rev 25643
Fix mouse issue on mc with ncurses6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jan 12 14:14:28 2024 +0100 (7 months ago) |
parents | a78610b2eb47 |
children |
rev | line source |
---|---|
pankso@4067 | 1 # SliTaz package receipt. |
pankso@4067 | 2 |
pankso@4067 | 3 PACKAGE="libnice" |
slaxemulator@6215 | 4 VERSION="0.0.13" |
pankso@4067 | 5 CATEGORY="system-tools" |
pankso@4067 | 6 SHORT_DESC="The GLib ICE implementation." |
pankso@4067 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14714 | 8 LICENSE="LGPL2.1 MPL" |
pankso@4067 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://nice.freedesktop.org/" |
pascal@20669 | 11 WGET_URL="https://nice.freedesktop.org/releases/$TARBALL" |
pascal@14714 | 12 |
pankso@4067 | 13 DEPENDS="gstreamer" |
slaxemulator@6215 | 14 BUILD_DEPENDS="gstreamer gstreamer-dev pkg-config glib-dev libxml2-dev" |
pankso@4067 | 15 |
pascal@24447 | 16 # What is the latest version available today? |
pascal@24447 | 17 current_version() |
pascal@24447 | 18 { |
pascal@24447 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24447 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 21 } |
pascal@24447 | 22 |
pankso@4067 | 23 # Rules to configure and make the package. |
pankso@4067 | 24 compile_rules() |
pankso@4067 | 25 { |
pankso@4067 | 26 cd $src |
pankso@4067 | 27 ./configure \ |
pankso@4067 | 28 --prefix=/usr \ |
pankso@4067 | 29 --mandir=/usr/share/man \ |
slaxemulator@6215 | 30 --with-gstreamer \ |
pankso@4067 | 31 $CONFIGURE_ARGS && |
pankso@4067 | 32 make && |
pascal@14714 | 33 make DESTDIR=$DESTDIR install |
pankso@4067 | 34 } |
pankso@4067 | 35 |
pankso@4067 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4067 | 37 genpkg_rules() |
pankso@4067 | 38 { |
pankso@4067 | 39 mkdir -p $fs/usr/lib |
pascal@14714 | 40 cp -a $install/usr/bin $fs/usr |
pascal@14714 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14714 | 42 cp -a $install/usr/lib/gstreamer-* $fs/usr/lib |
slaxemulator@6215 | 43 rm $fs/usr/lib/gstreamer-*/*.*a |
pankso@4067 | 44 } |