wok-current annotate amsn/receipt @ rev 22559

updated bogofilter (1.2.4 -> 1.2.5)
author Hans-G?nter Theisgen
date Sat Jan 04 16:49:42 2020 +0100 (2020-01-04)
parents f4c22f009037
children 5f6c5106b1f5
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"
pascal@15201 8 LICENSE="GPL2"
al@14789 9 WEB_SITE="http://amsn-project.net/"
erjo@5702 10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
slaxemulator@11040 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@3563 12 TAGS="chat messenger im"
erjo@1863 13
slaxemulator@13122 14 DEPENDS="tk glib tls jpeg xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
slaxemulator@13100 15 xorg-libXdmcp xorg-libXss zlib libpng libv4l gcc-lib-base"
slaxemulator@13122 16 BUILD_DEPENDS="tls glib-dev tcl-dev tk-dev jpeg-dev xorg-libICE-dev \
slaxemulator@13122 17 xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
slaxemulator@13122 18 xorg-libXss-dev zlib-dev libpng-dev libv4l-dev autoconf automake"
slaxemulator@13100 19
erjo@1863 20 # Rules to configure and make the package.
erjo@1863 21 compile_rules()
erjo@1863 22 {
erjo@1863 23 cd $src
pascal@20212 24 sed -i 's|uname -m|echo i486|' Makefile*
slaxemulator@11040 25 patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
slaxemulator@13122 26 patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch
erjo@1863 27 ./configure --prefix=/usr \
erjo@1863 28 --with-tcl=/usr/lib $CONFIGURE_ARGS && \
slaxemulator@11040 29 make && \
slaxemulator@11040 30 make DESTDIR=$DESTDIR install
erjo@1863 31 }
erjo@1863 32
erjo@1863 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1863 34 genpkg_rules()
erjo@1863 35 {
erjo@1863 36 mkdir -p $fs/usr
slaxemulator@13100 37 cp -a $install/usr/bin $fs/usr
slaxemulator@13100 38 cp -a $install/usr/share $fs/usr
al@14789 39 for ext in png xml css; do
al@14789 40 find $fs -type f -name '*.'$ext -exec chmod a-x \{\} \;
al@14789 41 done
erjo@1863 42 }
erjo@1863 43