wok-next view libsmpeg2/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents df20b2110f7e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsmpeg2"
4 VERSION="2.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="SDL2 MPEG Player Library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2"
9 WEB_SITE="http://icculus.org/smpeg/"
10 REPOLOGY="smpeg2"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="subversion|svn://svn.icculus.org/smpeg/tags/release_${VERSION//./_}"
15 BUILD_DEPENDS="subversion automake libsdl2-dev"
16 SPLIT="$PACKAGE-player $PACKAGE $PACKAGE-dev"
18 compile_rules() {
19 CFLAGS="$CFLAGS -Wno-error=narrowing"
20 ./autogen.sh &&
21 ./configure \
22 --disable-static \
23 --disable-debug \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-player)
33 copy plaympeg
34 CAT="multimedia|player"
35 DEPENDS="libsmpeg2"
36 ;;
37 libsmpeg2)
38 copy @std @rm
39 DEPENDS="libsdl2 tslib"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libsmpeg2 tslib-dev"
44 ;;
45 esac
46 }