wok-6.x view amsn/receipt @ rev 13784

Add llvm (thanks ernia)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 04 18:16:39 2013 +0100 (2013-01-04)
parents d0f848ec7ee5
children a7b54d88ae54
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 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
9 WEB_SITE="http://amsn-project.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="chat messenger im"
13 DEPENDS="tk glib tls jpeg xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
14 xorg-libXdmcp xorg-libXss zlib libpng libv4l gcc-lib-base"
15 BUILD_DEPENDS="tls glib-dev tcl-dev tk-dev jpeg-dev xorg-libICE-dev \
16 xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
17 xorg-libXss-dev zlib-dev libpng-dev libv4l-dev autoconf automake"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
24 patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch
25 ./configure --prefix=/usr \
26 --with-tcl=/usr/lib $CONFIGURE_ARGS && \
27 make && \
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share $fs/usr
37 }