wok annotate libjreen/receipt @ rev 23933

dar: inserted libdir=/lib
author Hans-G?nter Theisgen
date Mon Sep 07 13:19:26 2020 +0100 (2020-09-07)
parents be7b188ef115
children ede1d184d5c5
rev   line source
devl547@13900 1 # SliTaz package receipt.
devl547@13900 2
devl547@13900 3 PACKAGE="libjreen"
Hans-G?nter@23078 4 VERSION="1.2.0"
devl547@13900 5 CATEGORY="misc"
Hans-G?nter@23078 6 SHORT_DESC="Qt jabber library, written in C++."
devl547@13900 7 MAINTAINER="devl547@gmail.com"
pascal@14714 8 LICENSE="GPL2"
Hans-G?nter@23078 9 WEB_SITE="http://qutim.org/jreen"
Hans-G?nter@23078 10
devl547@13900 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@23078 12 WGET_URL="http://qutim.org/dwnl/73/$TARBALL"
devl547@13900 13
Hans-G?nter@23078 14 DEPENDS="libidn libQtCore libQtNetwork qca"
Hans-G?nter@23078 15 BUILD_DEPENDS="cmake gsasl-dev libidn-dev qca-dev qmake Qt4-dev"
pascal@14714 16
devl547@13900 17 # Rules to configure and make the package.
devl547@13900 18 compile_rules()
devl547@13900 19 {
Hans-G?nter@23078 20 # 1.2.0 no such file
Hans-G?nter@23078 21 # sed -i -e 's/ moc_options /&moc_target /' \
Hans-G?nter@23078 22 # -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
Hans-G?nter@23078 23 # cmake/jreenMacros.cmake
Hans-G?nter@23078 24
Hans-G?nter@23078 25 mkdir build &&
Hans-G?nter@23078 26 cd build
Hans-G?nter@23078 27 cmake .. \
Hans-G?nter@23078 28 -DCMAKE_INSTALL_PREFIX=/usr &&
devl547@13900 29 make DESTDIR=$DESTDIR install
devl547@13900 30 }
devl547@13900 31
devl547@13900 32 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@13900 33 genpkg_rules()
devl547@13900 34 {
devl547@13900 35 mkdir -p $fs/usr/
Hans-G?nter@23078 36 cp -a $install/usr/lib $fs/usr
devl547@13900 37 }