wok-current view freetuxtv/receipt @ rev 22611

updated codiad ( -> 2.8.4)
author Hans-G?nter Theisgen
date Fri Jan 10 13:31:59 2020 +0100 (2020-01-10)
parents e3f377fbc5f0
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="freetuxtv"
4 VERSION="0.6.8"
5 CATEGORY="network"
6 SHORT_DESC="FreetuxTV is a free GTK+ WebTV and Web Radio player for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/freetuxtv/freetuxtv"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/freetuxtv/freetuxtv/archive/$TARBALL"
13 DEPENDS="gtk+ glib dbus-glib libsqlite libvlc libcurl libnotify"
14 BUILD_DEPENDS="gtk+-dev glib-dev dbus-glib-dev libsqlite sqlite-dev \
15 libvlc-dev libvlc curl-dev libnotify-dev intltool file automake libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|_box_new(.*HORIZONTAL|_hbox_new(FALSE|' src/*.c
21 sed -i 's|_box_new(.*VERTICAL|_vbox_new(FALSE|' src/*.c
22 ./autogen.sh
23 ./configure --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/applications
33 cp -a $install/* $fs
34 cp $stuff/freetuxtv.desktop $fs/usr/share/applications
35 }