wok-6.x annotate midori/receipt @ rev 5128
Up: tazusb(2.3) + Improve recipe
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 21 23:09:04 2010 +0100 (2010-03-21) |
parents | 9b4cbd2f3b0e |
children | fb872618d39b |
rev | line source |
---|---|
pankso@878 | 1 # SliTaz package receipt. |
pankso@878 | 2 |
pankso@878 | 3 PACKAGE="midori" |
pankso@5079 | 4 VERSION="0.2.4" |
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@5079 | 9 DEPENDS="libsexy libwebkit libsoup sqlite xorg-libXdamage libnotify gcc-lib-base libgnutls" |
jozee@5025 | 10 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev sqlite-dev" |
pankso@878 | 11 WEB_SITE="http://software.twotoasts.de/?page=midori" |
mallory@4444 | 12 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.2/$TARBALL" |
pankso@878 | 13 |
pankso@878 | 14 # Rules to configure and make the package. |
pankso@878 | 15 compile_rules() |
pankso@878 | 16 { |
pankso@878 | 17 cd $src |
pankso@5028 | 18 ./configure \ |
pankso@5028 | 19 --prefix=/usr \ |
pankso@5028 | 20 --enable-sqlite \ |
pankso@5028 | 21 --enable-addons \ |
jozee@5106 | 22 --disable-unique \ |
pankso@5028 | 23 --disable-hildon && |
jozee@5025 | 24 make && |
pankso@5028 | 25 make DESTDIR=$PWD/_pkg install |
pankso@878 | 26 } |
pankso@878 | 27 |
pankso@878 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@878 | 29 genpkg_rules() |
pankso@878 | 30 { |
pankso@5028 | 31 mkdir -p \ |
pankso@5028 | 32 $fs/usr/share/pixmaps \ |
pankso@5028 | 33 $fs/usr/share/icons |
jozee@5025 | 34 cp -a $_pkg/etc $fs |
pankso@5028 | 35 cp stuff/config $fs/etc/xdg/midori |
pankso@5028 | 36 cp stuff/bookmarks.xbel $fs/etc/xdg/midori |
jozee@5025 | 37 cp -a $_pkg/usr/bin $fs/usr |
jozee@5025 | 38 cp -a $_pkg/usr/lib $fs/usr |
jozee@5025 | 39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@5025 | 40 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons |
pankso@5028 | 41 cd $fs/usr/share/pixmaps |
pankso@5028 | 42 ln -s ../icons/hicolor/22x22/apps/midori.png . |
pankso@878 | 43 } |