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