wok view amsn/receipt @ rev 20810
updated cplay (1.49 -> 1.50)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 17 17:23:27 2019 +0100 (2019-02-17) |
parents | f4c22f009037 |
children | 5f6c5106b1f5 |
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 sed -i 's|uname -m|echo i486|' Makefile*
25 patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
26 patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch
27 ./configure --prefix=/usr \
28 --with-tcl=/usr/lib $CONFIGURE_ARGS && \
29 make && \
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share $fs/usr
39 for ext in png xml css; do
40 find $fs -type f -name '*.'$ext -exec chmod a-x \{\} \;
41 done
42 }