wok annotate libmad/receipt @ rev 25462

ufraw: include exiv2/error.hpp in ufraw_exiv2.cc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 10:52:41 2022 +0000 (2022-09-28)
parents d7effc007afd
children d3556b8f5c3d
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="libmad"
pankso@32 4 VERSION="0.15.1b"
pankso@206 5 CATEGORY="multimedia"
pankso@32 6 SHORT_DESC="MAD is a high-quality MPEG audio decoder."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@15473 8 LICENSE="GPL2"
pankso@32 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@32 10 WEB_SITE="http://www.underbit.com/products/mad/"
pankso@32 11 WGET_URL="$SF_MIRROR/mad/$TARBALL"
pankso@15964 12 HOST_ARCH="i486 arm"
pankso@32 13
pascal@24071 14 current_version()
pascal@24071 15 {
pascal@24071 16 wget -O - https://sourceforge.net/projects/mad/files/libmad/ 2>/dev/null | \
pascal@24071 17 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 18 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 19 }
pascal@24071 20
pankso@32 21 # Rules to configure and make the package.
pankso@32 22 compile_rules()
pankso@32 23 {
pascal@4257 24 sed -i '/-fforce-mem/d' ./configure
pankso@15964 25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pankso@15964 26 make && make DESTDIR=$DESTDIR install
pankso@32 27 }
pankso@32 28
pankso@32 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 30 genpkg_rules()
pankso@32 31 {
pankso@32 32 mkdir -p $fs/usr/lib
pascal@15473 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@32 34 }
pankso@32 35