wok-next view libsmpeg2/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents
children 5841522533ec
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="subversion|svn://svn.icculus.org/smpeg/tags/release_${VERSION//./_}"
14 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
15 BUILD_DEPENDS="subversion automake libsdl2-dev"
16 SPLIT="libsmpeg2-player libsmpeg2 libsmpeg2-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 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-player)
32 copy plaympeg
33 CAT="multimedia|player"
34 DEPENDS="libsmpeg2"
35 ;;
36 libsmpeg2)
37 copy @std @rm
38 DEPENDS="libsdl2 tslib"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libsmpeg2 tslib-dev"
43 ;;
44 esac
45 }