wok annotate amsn/receipt @ rev 16120
ARM: add xorg-xauth
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 23 15:01:41 2014 +0100 (2014-03-23) |
parents | a7b54d88ae54 |
children | 3705d68ed8f3 |
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 |
slaxemulator@11040 | 24 patch -Np0 -i $stuff/$PACKAGE-v4l2.patch |
slaxemulator@13122 | 25 patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch |
erjo@1863 | 26 ./configure --prefix=/usr \ |
erjo@1863 | 27 --with-tcl=/usr/lib $CONFIGURE_ARGS && \ |
slaxemulator@11040 | 28 make && \ |
slaxemulator@11040 | 29 make DESTDIR=$DESTDIR install |
erjo@1863 | 30 } |
erjo@1863 | 31 |
erjo@1863 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1863 | 33 genpkg_rules() |
erjo@1863 | 34 { |
erjo@1863 | 35 mkdir -p $fs/usr |
slaxemulator@13100 | 36 cp -a $install/usr/bin $fs/usr |
slaxemulator@13100 | 37 cp -a $install/usr/share $fs/usr |
al@14789 | 38 for ext in png xml css; do |
al@14789 | 39 find $fs -type f -name '*.'$ext -exec chmod a-x \{\} \; |
al@14789 | 40 done |
erjo@1863 | 41 } |
erjo@1863 | 42 |