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