wok annotate orc/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (2022-06-13)
parents 3fe6c0591041
children 1b762db897fb
rev   line source
domcox@14013 1 # SliTaz package receipt.
domcox@14013 2
domcox@14013 3 PACKAGE="orc"
mojo@23865 4 VERSION="0.4.29"
domcox@14013 5 CATEGORY="multimedia"
Hans-G?nter@21645 6 SHORT_DESC="The Oil Runtime Compiler."
domcox@14013 7 MAINTAINER="domcox@slitaz.org"
pascal@15601 8 LICENSE="BSD"
Hans-G?nter@21645 9 WEB_SITE="https://gstreamer.freedesktop.org/projects/orc.html"
Hans-G?nter@21645 10
Hans-G?nter@21645 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21645 12 WGET_URL="https://gstreamer.freedesktop.org/src/$PACKAGE/$TARBALL"
Hans-G?nter@21645 13
pankso@16381 14 HOST_ARCH="i486 arm"
domcox@14013 15
pascal@24072 16 current_version()
pascal@24072 17 {
pascal@24072 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 19 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 20 }
pascal@24072 21
domcox@14013 22 # Rules to configure and make the package.
domcox@14013 23 compile_rules()
domcox@14013 24 {
mojo@23865 25 ./configure \
mojo@23865 26 --libexecdir=/usr/lib \
mojo@23865 27 --disable-static \
mojo@23865 28 $CONFIGURE_ARGS &&
mojo@23865 29 make $MAKEFLAGS &&
mojo@23865 30 make install
domcox@14013 31 }
domcox@14013 32
domcox@14013 33 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@14013 34 genpkg_rules()
domcox@14013 35 {
domcox@14013 36 mkdir -p $fs/usr/lib
Hans-G?nter@21645 37
Hans-G?nter@21645 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21645 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
domcox@14013 40 }