wok-current view gmerlin/receipt @ rev 14958

Up: enlightenment-pam (0.17.4)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:20:59 2013 +0200 (2013-08-08)
parents
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="gmerlin"
4 VERSION="1.2.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Gmerlin is a multimedia architecture for linux."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://gmerlin.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/project/gmerlin/gmerlin/$VERSION/$TARBALL"
12 DEPENDS="libxml2 expat gavl gtk+ alsa-lib libpng"
13 BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \
14 libpng-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 rm -rf cpuinfo.sh
21 ./configure \
22 --without-doxygen \
23 $CONFIGURE_ARGS &&
24 sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' apps/*/Makefile &&
25 sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' lib/Makefile &&
26 sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' tests/Makefile &&
27 sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share $fs/usr/lib/gmerlin/plugins
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/gmerlin/plugins/*.so* $fs/usr/lib/gmerlin/plugins
38 cp -a $install/usr/share/gmerlin $fs/usr/share
39 cp -a $install/usr/share/icons $fs/usr/share
40 }