wok annotate pcmanfm-qt/receipt @ rev 19066

It works, but needs review and improvement. Thank you.
author Leonardo Laporte <hackdorte@sapo.pt>
date Thu Apr 21 06:32:59 2016 -0300 (2016-04-21)
parents 5d53e8ccbc8d
children 5ea0ce1cecc0
rev   line source
al@16833 1 # SliTaz package receipt.
al@16833 2
al@16833 3 PACKAGE="pcmanfm-qt"
al@17222 4 VERSION="0.8.0"
al@17516 5 CATEGORY="system-tools"
al@16833 6 SHORT_DESC="File manager and desktop icon manager (Qt port of PCManFM and libfm)"
al@16833 7 MAINTAINER="al.bobylev@gmail.com"
al@16833 8 LICENSE="LGPL2.1"
al@16833 9 WEB_SITE="https://github.com/lxde/pcmanfm-qt"
al@16833 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@17222 11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
al@17501 12 TAGS="LXQt file-manager"
al@16833 13
al@16833 14 DEPENDS="libQtCore libQtDBus libQtGui libffi libfm libgio menu-cache pcre \
al@16833 15 xorg-libX11 zlib"
al@16833 16 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake glib-dev libgio-dev libfm-dev \
al@16833 17 menu-cache-dev xorg-libX11-dev"
al@16833 18
al@16833 19 # Rules to configure and make the package.
al@16833 20 compile_rules()
al@16833 21 {
al@16833 22 mkdir build; cd build
al@16833 23 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
al@16833 24 make &&
al@16833 25 make DESTDIR=$install install
al@16833 26 }
al@16833 27
al@16833 28 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16833 29 genpkg_rules()
al@16833 30 {
al@16833 31 mkdir -p $fs/usr/lib
al@16833 32 cp -a $install/usr/bin $fs/usr
al@16833 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@16833 34 cp -a $install/usr/share $fs/usr
al@16833 35 }