wok-6.x view libcddb/receipt @ rev 25564
Add missing glibc 2.19 patchs
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon May 08 16:56:41 2023 +0200 (18 months ago) |
parents | 7dd01dedad38 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcddb"
4 VERSION="1.3.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="C library to access data on a CDDB server (freedb.org)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://libcddb.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 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 cd $src
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }