wok view libsmpeg/receipt @ rev 25217
updated python-pdfkit (0.6.1 -> 1.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:33:13 2022 +0100 (2022-07-13) |
parents | 5a902d3aec25 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsmpeg"
4 VERSION="0.4.5"
5 CATEGORY="development"
6 SHORT_DESC="Mpeg decoding library"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://icculus.org/smpeg/"
10 TARBALL="smpeg-$VERSION.tar.xz"
11 WGET_URL="http://ravenports.elderlinux.org/distcache/$TARBALL"
13 DEPENDS="libsdl gcc-lib-base"
14 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/smpeg-[0-9]/!d;/tar/!d;s|.*smpeg-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 chmod +x install-sh
27 ./autogen.sh
28 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS &&
29 make LDFLAGS+=-lstdc++ &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }