wok-6.x annotate xombrero/receipt @ rev 19692
ntfs-3g: update genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 12:26:10 2017 +0100 (2017-02-13) |
parents | 87a2f75d7a93 |
children | 6135577f4d08 |
rev | line source |
---|---|
claudinei@14896 | 1 # SliTaz package receipt. |
claudinei@14896 | 2 |
claudinei@14896 | 3 PACKAGE="xombrero" |
pascal@17983 | 4 VERSION="1.6.4" |
al@17501 | 5 CATEGORY="network" |
claudinei@14896 | 6 SHORT_DESC="A minimalist web browser with sophisticated security features." |
claudinei@14896 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@14899 | 8 LICENSE="ISC" |
claudinei@14896 | 9 WEB_SITE="https://opensource.conformal.com/wiki/xombrero" |
al@17501 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
claudinei@14896 | 11 WGET_URL="https://opensource.conformal.com/snapshots/$PACKAGE/$TARBALL" |
al@18176 | 12 CONFIG_FILES="/etc/xombrero.conf" |
al@17501 | 13 TAGS="web-browser" |
claudinei@14896 | 14 |
al@18176 | 15 SUGGESTED="cacerts" |
claudinei@14896 | 16 DEPENDS="gtk+ libwebkit libbsd" |
claudinei@14896 | 17 BUILD_DEPENDS="gtk+-dev libwebkit-dev libsoup-dev gnutls-dev libbsd-dev \ |
claudinei@14896 | 18 groff wget" |
claudinei@14896 | 19 |
claudinei@14896 | 20 # Rules to configure and make the package. |
claudinei@14896 | 21 compile_rules() |
claudinei@14896 | 22 { |
pascal@17983 | 23 find -type f -print0 | xargs -0 sed -i 's|/usr/local|/usr|' |
al@18176 | 24 cp -f $stuff/xombrero.desktop . |
claudinei@14896 | 25 make PREFIX="/usr" -C linux GTK_VERSION="gtk2" install |
claudinei@14896 | 26 } |
claudinei@14896 | 27 |
claudinei@14896 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14896 | 29 genpkg_rules() |
claudinei@14896 | 30 { |
al@18176 | 31 mkdir -p $fs/etc |
claudinei@14896 | 32 cp -a $install/* $fs |
claudinei@14896 | 33 cp $stuff/xombrero.conf $fs/etc |
al@18176 | 34 |
al@18176 | 35 # Link icons |
al@18176 | 36 for size in 16 32 48 64 128 256; do |
al@18176 | 37 mkdir -p $fs/usr/share/icons/hicolor/${size}x$size/apps |
al@18176 | 38 ln -s /usr/share/xombrero/xombreroicon$size.png \ |
al@18176 | 39 $fs/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png |
al@18176 | 40 done |
claudinei@14896 | 41 } |