wok diff gmerlin/receipt @ rev 14604
Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 31 00:58:07 2013 +0000 (2013-05-31) |
parents | |
children | 2b9f96603415 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gmerlin/receipt Fri May 31 00:58:07 2013 +0000 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gmerlin" 1.7 +VERSION="1.2.0" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Gmerlin is a multimedia architecture for linux." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://gmerlin.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/project/gmerlin/gmerlin/$VERSION/$TARBALL" 1.14 + 1.15 +DEPENDS="libxml2 expat gavl gtk+ alsa-lib libpng" 1.16 +BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \ 1.17 +libpng-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + rm -rf cpuinfo.sh 1.24 + ./configure \ 1.25 + --without-doxygen \ 1.26 + $CONFIGURE_ARGS && 1.27 + 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 && 1.28 + 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 && 1.29 + 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 && 1.30 + sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile && 1.31 + make && make install 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/share $fs/usr/lib/gmerlin/plugins 1.38 + cp -a $install/usr/bin $fs/usr 1.39 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.40 + cp -a $install/usr/lib/gmerlin/plugins/*.so* $fs/usr/lib/gmerlin/plugins 1.41 + cp -a $install/usr/share/gmerlin $fs/usr/share 1.42 + cp -a $install/usr/share/icons $fs/usr/share 1.43 +}