wok view libmad/receipt @ rev 24100

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