wok annotate midori/receipt @ rev 13411
powertop: fix deps, bdeps & genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 01 10:08:31 2012 +0200 (2012-10-01) |
parents | 1f0ec5d5c74b |
children | 1e96db115fc0 |
rev | line source |
---|---|
pankso@878 | 1 # SliTaz package receipt. |
pankso@878 | 2 |
pankso@878 | 3 PACKAGE="midori" |
pankso@12809 | 4 VERSION="0.4.6" |
pankso@878 | 5 CATEGORY="x-window" |
pankso@878 | 6 SHORT_DESC="Light Web Browse using GTK+/WebKit." |
pankso@878 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2042 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@878 | 9 WEB_SITE="http://software.twotoasts.de/?page=midori" |
slaxemulator@12359 | 10 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL" |
pankso@878 | 11 |
pankso@12082 | 12 DEPENDS="libsexy libwebkit libsoup sqlite xorg-libXdamage xorg-libXss \ |
pankso@12082 | 13 gcc-lib-base libgnutls" |
pankso@12082 | 14 BUILD_DEPENDS="python libsexy-dev libwebkit-dev libsoup-dev sqlite-dev \ |
pankso@12082 | 15 intltool libgio-dev dbus-dev dbus-glib-dev pkg-config xorg-libXss-dev \ |
pankso@12082 | 16 xorg-libXdamage-dev xorg-libX11-dev gtk+-dev vala" |
pankso@12082 | 17 |
pankso@878 | 18 # Rules to configure and make the package. |
pankso@878 | 19 compile_rules() |
pankso@878 | 20 { |
pankso@878 | 21 cd $src |
pankso@5028 | 22 ./configure \ |
pankso@5028 | 23 --prefix=/usr \ |
slaxemulator@6180 | 24 --jobs=4 \ |
pankso@5028 | 25 --enable-addons \ |
devl547@11248 | 26 --disable-libnotify \ |
jozee@5106 | 27 --disable-unique \ |
pankso@5028 | 28 --disable-hildon && |
pankso@12809 | 29 make && make install |
pankso@878 | 30 } |
pankso@878 | 31 |
pankso@878 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@878 | 33 genpkg_rules() |
pankso@878 | 34 { |
pankso@5028 | 35 mkdir -p \ |
pankso@5028 | 36 $fs/usr/share/pixmaps \ |
pankso@5028 | 37 $fs/usr/share/icons |
pankso@12082 | 38 cp -a $install/etc $fs |
slaxemulator@10110 | 39 cp $stuff/config $fs/etc/xdg/midori |
pankso@12082 | 40 cp $stuff/search $fs/etc/xdg/midori |
pankso@12082 | 41 # Midori use sqlite to store bookmarks |
pankso@12082 | 42 #cp $stuff/bookmarks.xbel $fs/etc/xdg/midori |
pankso@12082 | 43 cp -a $install/usr/bin $fs/usr |
pankso@12082 | 44 cp -a $install/usr/lib $fs/usr |
pankso@12082 | 45 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@12082 | 46 # Icons |
pankso@12082 | 47 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons |
pankso@12082 | 48 rm -rf $fs/usr/share/icons/hicolor/scalable |
pankso@5028 | 49 cd $fs/usr/share/pixmaps |
slaxemulator@12359 | 50 ln -sf ../icons/hicolor/22x22/apps/midori.png . |
pankso@878 | 51 } |