wok annotate gavl/receipt @ rev 25519

created recipes for libuv and libuv-dev 1.44.1
author Hans-G?nter Theisgen
date Fri Feb 24 15:35:59 2023 +0100 (21 months ago)
parents 7dd01dedad38
children 6b33f9da53d4
rev   line source
slaxemulator@6844 1 # SliTaz package receipt.
slaxemulator@6844 2
slaxemulator@6844 3 PACKAGE="gavl"
pankso@13617 4 VERSION="1.4.0"
slaxemulator@6844 5 CATEGORY="multimedia"
slaxemulator@6844 6 MAINTAINER="jozee@slitaz.org"
pascal@15201 7 LICENSE="GPL3"
slaxemulator@6844 8 SHORT_DESC="A low level library, upon which multimedia APIs can be built."
pascal@25466 9 WEB_SITE="https://sourceforge.net/projects/gmerlin/"
slaxemulator@6844 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6844 11 WGET_URL="$SF_MIRROR/gmerlin/$TARBALL"
slaxemulator@6844 12
pankso@13617 13 DEPENDS="glibc-base"
pankso@13617 14
pascal@24403 15 # What is the latest version available today?
pascal@24403 16 current_version()
pascal@24403 17 {
pascal@24403 18 wget -O - https://sourceforge.net/projects/gmerlin/files/gavl/ 2>/dev/null | \
pascal@24403 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 20 sed '/scope="row/!d;s|.*/gavl/||;s|/.*||;q'
pascal@24403 21 }
pascal@24403 22
slaxemulator@6844 23 # Rules to configure and make the package.
pankso@13617 24 compile_rules()
pankso@13617 25 {
slaxemulator@9075 26 cd $src
slaxemulator@9075 27 ./configure --without-doxygen \
gokhlayeh@11573 28 --with-cpuflags=none $CONFIGURE_ARGS &&
pankso@13617 29 make && make install
slaxemulator@6844 30 }
slaxemulator@6844 31
slaxemulator@6844 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6844 33 genpkg_rules()
slaxemulator@6844 34 {
slaxemulator@6844 35 mkdir -p $fs/usr/lib
pankso@13617 36 cp -a $install/usr/lib/*so* $fs/usr/lib/
slaxemulator@6844 37 }