wok-current view amsn/receipt @ rev 16929

Add dooble (Qt4 web browser)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jul 19 17:27:59 2014 +0200 (2014-07-19)
parents a7b54d88ae54
children 3705d68ed8f3
line source
1 # SliTaz package receipt.
3 PACKAGE="amsn"
4 VERSION="0.98.9"
5 CATEGORY="network"
6 SHORT_DESC="Alvaro's Messenger"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://amsn-project.net/"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="chat messenger im"
14 DEPENDS="tk glib tls jpeg xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
15 xorg-libXdmcp xorg-libXss zlib libpng libv4l gcc-lib-base"
16 BUILD_DEPENDS="tls glib-dev tcl-dev tk-dev jpeg-dev xorg-libICE-dev \
17 xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
18 xorg-libXss-dev zlib-dev libpng-dev libv4l-dev autoconf automake"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
25 patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch
26 ./configure --prefix=/usr \
27 --with-tcl=/usr/lib $CONFIGURE_ARGS && \
28 make && \
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share $fs/usr
38 for ext in png xml css; do
39 find $fs -type f -name '*.'$ext -exec chmod a-x \{\} \;
40 done
41 }