wok rev 20675

iron: update /usr/bin/iron symlink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 24 22:11:16 2019 +0100 (14 months ago)
parents eeba7ab1dffe
children be8e04fa763a
files freetuxtv/receipt iron-linux/receipt
line diff
     1.1 --- a/freetuxtv/receipt	Thu Jan 24 18:16:34 2019 +0100
     1.2 +++ b/freetuxtv/receipt	Thu Jan 24 22:11:16 2019 +0100
     1.3 @@ -12,11 +12,14 @@
     1.4  
     1.5  DEPENDS="gtk+ glib dbus-glib libsqlite libvlc libcurl libnotify"
     1.6  BUILD_DEPENDS="gtk+-dev glib-dev dbus-glib-dev libsqlite sqlite-dev \
     1.7 -libvlc-dev libvlc curl-dev libnotify-dev intltool"
     1.8 +libvlc-dev libvlc curl-dev libnotify-dev intltool file automake libtool"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 +	sed -i 's|_box_new(.*HORIZONTAL|_hbox_new(FALSE|' src/*.c
    1.14 +	sed -i 's|_box_new(.*VERTICAL|_vbox_new(FALSE|' src/*.c
    1.15 +	./autogen.sh
    1.16  	./configure --prefix=/usr \
    1.17  		$CONFIGURE_ARGS &&
    1.18  	make &&
     2.1 --- a/iron-linux/receipt	Thu Jan 24 18:16:34 2019 +0100
     2.2 +++ b/iron-linux/receipt	Thu Jan 24 22:11:16 2019 +0100
     2.3 @@ -27,17 +27,5 @@
     2.4  	cp -a $install/$PACKAGE $fs/usr/lib
     2.5  	cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \
     2.6  		$fs/usr/share/pixmaps/iron.png
     2.7 +	ln -s /usr/lib/iron-linux/chrome $fs/usr/bin/iron
     2.8  }
     2.9 -
    2.10 -# Create a link to /usr/bin/iron.
    2.11 -post_install()
    2.12 -{
    2.13 -	ln -s /usr/lib/iron-linux/iron "$1/usr/bin/iron"
    2.14 -}
    2.15 -
    2.16 -# Remove link.
    2.17 -post_remove()
    2.18 -{
    2.19 -	rm "$1/usr/bin/iron"
    2.20 -}
    2.21 -