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