wok-current annotate opera/receipt @ rev 11267
Add: opera (11.60-1147)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Nov 10 00:56:33 2011 +0000 (2011-11-10) |
parents | |
children |
rev | line source |
---|---|
devl547@11267 | 1 # SliTaz package receipt. |
devl547@11267 | 2 |
devl547@11267 | 3 PACKAGE="opera" |
devl547@11267 | 4 VERSION="11.60-1147" |
devl547@11267 | 5 CATEGORY="network" |
devl547@11267 | 6 SHORT_DESC="Opera Internet Browser." |
devl547@11267 | 7 MAINTAINER="devl547@gmail.com" |
devl547@11267 | 8 TARBALL="$PACKAGE-$VERSION.i386.linux.tar.xz" |
devl547@11267 | 9 BUILD_DEPENDS="optipng" |
devl547@11267 | 10 WEB_SITE="http://opera.com" |
devl547@11267 | 11 WGET_URL="http://snapshot.opera.com/unix/betarc1_$VERSION/$TARBALL" |
devl547@11267 | 12 |
devl547@11267 | 13 # Rules to configure and make the package. |
devl547@11267 | 14 compile_rules() |
devl547@11267 | 15 { |
devl547@11267 | 16 cd $src |
devl547@11267 | 17 mkdir slitaz |
devl547@11267 | 18 ./install --prefix /usr --repackage slitaz/ |
devl547@11267 | 19 find | grep .png | xargs optipng -o7 |
devl547@11267 | 20 } |
devl547@11267 | 21 |
devl547@11267 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11267 | 23 genpkg_rules() |
devl547@11267 | 24 { |
devl547@11267 | 25 mkdir -p $fs/usr/bin $fs/usr/share/applications |
devl547@11267 | 26 cp -a $src/slitaz/* $fs/usr/ |
devl547@11267 | 27 cp $stuff/opera-browser.desktop $fs/usr/share/applications |
devl547@11267 | 28 } |
devl547@11267 | 29 |