wok-current annotate amsn/receipt @ rev 14431

wxWidgets: fix compiles-rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 24 16:10:28 2013 +0200 (2013-04-24)
parents d0f848ec7ee5
children a7b54d88ae54
rev   line source
erjo@1863 1 # SliTaz package receipt.
erjo@1863 2
erjo@1863 3 PACKAGE="amsn"
slaxemulator@13100 4 VERSION="0.98.9"
taziden@1986 5 CATEGORY="network"
erjo@1863 6 SHORT_DESC="Alvaro's Messenger"
erjo@1863 7 MAINTAINER="erjo@slitaz.org"
erjo@5702 8 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
erjo@1863 9 WEB_SITE="http://amsn-project.net/"
slaxemulator@11040 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@3563 11 TAGS="chat messenger im"
erjo@1863 12
slaxemulator@13122 13 DEPENDS="tk glib tls jpeg xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
slaxemulator@13100 14 xorg-libXdmcp xorg-libXss zlib libpng libv4l gcc-lib-base"
slaxemulator@13122 15 BUILD_DEPENDS="tls glib-dev tcl-dev tk-dev jpeg-dev xorg-libICE-dev \
slaxemulator@13122 16 xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
slaxemulator@13122 17 xorg-libXss-dev zlib-dev libpng-dev libv4l-dev autoconf automake"
slaxemulator@13100 18
erjo@1863 19 # Rules to configure and make the package.
erjo@1863 20 compile_rules()
erjo@1863 21 {
erjo@1863 22 cd $src
slaxemulator@11040 23 patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
slaxemulator@13122 24 patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch
erjo@1863 25 ./configure --prefix=/usr \
erjo@1863 26 --with-tcl=/usr/lib $CONFIGURE_ARGS && \
slaxemulator@11040 27 make && \
slaxemulator@11040 28 make DESTDIR=$DESTDIR install
erjo@1863 29 }
erjo@1863 30
erjo@1863 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1863 32 genpkg_rules()
erjo@1863 33 {
erjo@1863 34 mkdir -p $fs/usr
slaxemulator@13100 35 cp -a $install/usr/bin $fs/usr
slaxemulator@13100 36 cp -a $install/usr/share $fs/usr
erjo@1863 37 }
erjo@1863 38