wok view libjreen/receipt @ rev 20247

Up alsa (1.1.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 12:25:00 2018 +0100 (2018-03-12)
parents 94d07ea6d8cb
children 573f08ef81b5
line source
1 # SliTaz package receipt.
3 PACKAGE="libjreen"
4 VERSION="1.1.1"
5 CATEGORY="misc"
6 SHORT_DESC="Qt jabber library, written in C++"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://qutim.org/jreen"
11 WGET_URL="http://qutim.org/dwnl/44/$TARBALL"
13 DEPENDS="libQtNetwork libQtCore qca libidn"
14 BUILD_DEPENDS="Qt4-dev qca-dev libidn-dev cmake qmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i -e 's/ moc_options /&moc_target /' \
20 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
21 cmake/jreenMacros.cmake
22 mkdir build && cd build
23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/
31 cp -a $install/usr/lib $fs/usr
32 }