wok-next view amsn/receipt @ rev 15058
cocoalib: create Makefile_dependencies
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:39:24 2013 +0000 (2013-08-13) |
parents | 8eb478641728 |
children | f4c22f009037 |
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 WEB_SITE="http://amsn-project.net/"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
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 for ext in png xml css; do
38 find $fs -type f -name '*.'$ext -exec chmod a-x \{\} \;
39 done
40 }