wok-6.x annotate midori/receipt @ rev 6142
Up: midori to 0.2.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Sep 08 13:11:51 2010 +0000 (2010-09-08) |
parents | 1cbf99b1f007 |
children | 334ea93b69f8 |
rev | line source |
---|---|
pankso@878 | 1 # SliTaz package receipt. |
pankso@878 | 2 |
pankso@878 | 3 PACKAGE="midori" |
slaxemulator@6142 | 4 VERSION="0.2.7" |
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" |
gokhlayeh@5740 | 9 DEPENDS="libsexy libwebkit libsoup sqlite xorg-libXdamage xorg-libXss 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 } |