wok-current view libqwt6-qt4/receipt @ rev 19462
remove typos etc from the 5 gcc-receipt files
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Oct 23 18:00:14 2016 +0000 (2016-10-23) |
parents | 377bff3381a0 |
children | 370da83187ab |
line source
1 # SliTaz package receipt.
3 PACKAGE="libqwt6-qt4"
4 VERSION="6.0.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Lib Qt Widgets for Technical applications"
7 MAINTAINER="slitaz@objectif-securite.ch"
8 LICENSE="LGPL2.1"
9 SOURCE="qwt"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://qwt.sourceforge.net"
12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
14 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
15 BUILD_DEPENDS="qmake Qt4-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i \
22 -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \
23 -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \
24 -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt\/plugins\/designer\//' \
25 -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' \
26 qwtconfig.pri
27 qmake &&
28 make -j1 &&
29 make INSTALL_ROOT=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/qwt $fs/usr/share
38 }