wok-undigest annotate midori/receipt @ rev 953
Up: thunderbird (17.0.4esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 23:11:09 2013 +0100 (2013-03-12) |
parents | 7f1f006940cd |
children |
rev | line source |
---|---|
admin@862 | 1 # SliTaz package receipt. |
admin@862 | 2 |
admin@862 | 3 PACKAGE="midori" |
admin@862 | 4 VERSION="0.4.7" |
admin@862 | 5 CATEGORY="x-window" |
admin@862 | 6 SHORT_DESC="Light Web Browse using GTK+/WebKit." |
admin@862 | 7 MAINTAINER="pankso@slitaz.org" |
admin@862 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
admin@862 | 9 WEB_SITE="http://software.twotoasts.de/?page=midori" |
admin@862 | 10 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL" |
admin@862 | 11 |
admin@862 | 12 DEPENDS="libwebkit libsoup libxml2 sqlite xorg-libXdamage xorg-libXss \ |
admin@862 | 13 gcc-lib-base libgnutls" |
admin@862 | 14 BUILD_DEPENDS="python libwebkit-dev libsoup-dev libxml2-dev sqlite-dev \ |
admin@862 | 15 intltool libgio-dev dbus-dev dbus-glib-dev pkg-config xorg-libXss-dev \ |
pascal@863 | 16 xorg-libXdamage-dev xorg-libX11-dev gtk+-dev libgnutls vala librsvg-apps" |
admin@862 | 17 |
admin@862 | 18 # Rules to configure and make the package. |
admin@862 | 19 compile_rules() |
admin@862 | 20 { |
admin@862 | 21 cd $src |
admin@862 | 22 ./configure \ |
admin@862 | 23 --prefix=/usr \ |
admin@862 | 24 --jobs=4 \ |
admin@862 | 25 --enable-addons \ |
admin@862 | 26 --disable-libnotify \ |
admin@862 | 27 --disable-unique \ |
admin@862 | 28 --disable-hildon && |
admin@862 | 29 make && make install |
admin@862 | 30 } |
admin@862 | 31 |
admin@862 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
admin@862 | 33 genpkg_rules() |
admin@862 | 34 { |
admin@862 | 35 mkdir -p \ |
admin@862 | 36 $fs/usr/share/pixmaps \ |
admin@862 | 37 $fs/usr/share/icons |
admin@862 | 38 cp -a $install/etc $fs |
admin@862 | 39 cp $stuff/config $fs/etc/xdg/midori |
admin@862 | 40 cp $stuff/search $fs/etc/xdg/midori |
admin@862 | 41 # Midori use sqlite to store bookmarks |
admin@862 | 42 #cp $stuff/bookmarks.xbel $fs/etc/xdg/midori |
admin@862 | 43 cp -a $install/usr/bin $fs/usr |
admin@862 | 44 cp -a $install/usr/lib $fs/usr |
admin@862 | 45 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
admin@862 | 46 # Icons |
admin@862 | 47 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons |
admin@862 | 48 rm -rf $fs/usr/share/icons/hicolor/scalable |
admin@862 | 49 cd $fs/usr/share/pixmaps |
admin@862 | 50 ln -sf ../icons/hicolor/22x22/apps/midori.png . |
admin@862 | 51 } |