wok annotate amsn/receipt @ rev 15063

hdf5: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 10:59:59 2013 +0000 (2013-08-13)
parents 8eb478641728
children f4c22f009037
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"
al@14789 8 WEB_SITE="http://amsn-project.net/"
erjo@5702 9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
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
al@14789 37 for ext in png xml css; do
al@14789 38 find $fs -type f -name '*.'$ext -exec chmod a-x \{\} \;
al@14789 39 done
erjo@1863 40 }
erjo@1863 41