wok-next diff libjreen/receipt @ rev 20582
Up libjson-c (0.13.1-20180305)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 10:00:23 2018 +0300 (2018-04-14) |
parents | 6ee7d8f3bc37 |
children | d5aab818505e |
line diff
1.1 --- a/libjreen/receipt Fri Nov 03 22:50:48 2017 +0100 1.2 +++ b/libjreen/receipt Sat Apr 14 10:00:23 2018 +0300 1.3 @@ -6,39 +6,32 @@ 1.4 SHORT_DESC="Qt jabber library, written in C++" 1.5 MAINTAINER="devl547@gmail.com" 1.6 LICENSE="GPL2" 1.7 +WEB_SITE="http://qutim.org/jreen" 1.8 + 1.9 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.10 -WEB_SITE="http://qutim.org/jreen" 1.11 WGET_URL="http://qutim.org/dwnl/44/$TARBALL" 1.12 1.13 BUILD_DEPENDS="Qt4-dev qca-dev libidn-dev cmake qmake zlib-dev" 1.14 SPLIT="libjreen libjreen-dev" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 +compile_rules() { 1.20 sed -i -e 's/ moc_options /&moc_target /' \ 1.21 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \ 1.22 cmake/jreenMacros.cmake 1.23 - mkdir build && cd build 1.24 + mkdir build 1.25 + cd build 1.26 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && 1.27 make DESTDIR=$DESTDIR install 1.28 } 1.29 1.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 -genpkg_rules() 1.32 -{ 1.33 +genpkg_rules() { 1.34 case $PACKAGE in 1.35 - libjreen) 1.36 - DEPENDS="libQtNetwork libQtCore qca libidn" 1.37 - mkdir -p $fs/usr/ 1.38 - cp -a $install/usr/lib $fs/usr 1.39 - ;; 1.40 - libjreen-dev) 1.41 - CAT="development|Qt jabber library, written in C++" 1.42 - DEPENDS="libjreen pkg-config" 1.43 - mkdir -p $fs/usr/share $fs/usr/lib 1.44 - cp -a $install/usr/include $fs/usr 1.45 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.46 - ;; 1.47 + libjreen) 1.48 + copy @std 1.49 + DEPENDS="libQtNetwork libQtCore qca libidn" 1.50 + ;; 1.51 + *-dev) 1.52 + copy @dev 1.53 + ;; 1.54 esac 1.55 }