wok-6.x diff opera/receipt @ rev 11268

Add: opera-next (12.00-1116)
author Alexander Medvedev <devl547@gmail.com>
date Thu Nov 10 01:03:54 2011 +0000 (2011-11-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/opera/receipt	Thu Nov 10 01:03:54 2011 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="opera"
     1.7 +VERSION="11.60-1147"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Opera Internet Browser."
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.i386.linux.tar.xz"
    1.12 +BUILD_DEPENDS="optipng"
    1.13 +WEB_SITE="http://opera.com"
    1.14 +WGET_URL="http://snapshot.opera.com/unix/betarc1_$VERSION/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	mkdir slitaz
    1.21 +	./install --prefix /usr --repackage slitaz/
    1.22 +	find | grep .png | xargs optipng -o7
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/bin $fs/usr/share/applications
    1.29 +	cp -a $src/slitaz/* $fs/usr/
    1.30 +	cp $stuff/opera-browser.desktop $fs/usr/share/applications
    1.31 +}
    1.32 +