wok annotate qupzilla/receipt @ rev 15603

Use install instead of _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:39:07 2013 +0000 (2013-12-06)
parents 153197073b2d
children 7cc051a48ec9
rev   line source
claudinei@14891 1 # SliTaz PACKAGE receipt.
claudinei@14891 2
claudinei@14891 3 PACKAGE="qupzilla"
claudinei@14891 4 VERSION="v1.4.3"
claudinei@14891 5 CATEGORY="x-window"
claudinei@14891 6 SHORT_DESC="QupZilla is a new, lightweight and very fast QtWebKit browser"
claudinei@14891 7 MAINTAINER="claudinei@slitaz.org"
pascal@14894 8 LICENSE="GPL3"
claudinei@14891 9 WEB_SITE="https://github.com/QupZilla/qupzilla"
claudinei@14891 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@14891 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
claudinei@14891 12
claudinei@14891 13 DEPENDS="qt4 openssl gst-plugins-base"
claudinei@14891 14 BUILD_DEPENDS="Qt4-dev qmake openssl-dev wget"
claudinei@14891 15 SUGGESTED="qupzilla-locales"
claudinei@14891 16
claudinei@14891 17 # Rules to configure and make the PACKAGE.
claudinei@14891 18 compile_rules()
claudinei@14891 19 {
claudinei@14891 20 export QUPZILLA_PREFIX="$DESTDIR/usr/"
claudinei@14891 21 qmake &&
claudinei@14891 22 make && make install
claudinei@14891 23 }
claudinei@14891 24
claudinei@14891 25 # Rules to gen a SliTaz PACKAGE suitable for Tazpkg.
claudinei@14891 26 genpkg_rules()
claudinei@14891 27 {
claudinei@14891 28 mkdir -p $fs/usr/share/$PACKAGE
claudinei@14891 29 cp -a $install/usr/bin $fs/usr
claudinei@14891 30 cp -a $install/usr/lib $fs/usr
claudinei@14891 31 cp -a $install/usr/share/$PACKAGE/themes $fs/usr/share/$PACKAGE
claudinei@14891 32 }