wok annotate amsn/receipt @ rev 12916
glibc-base: handle cross installation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 18:13:06 2012 +0000 (2012-05-29) |
parents | 3365c0f4e957 |
children | 216e48fe0092 |
rev | line source |
---|---|
erjo@1863 | 1 # SliTaz package receipt. |
erjo@1863 | 2 |
erjo@1863 | 3 PACKAGE="amsn" |
slaxemulator@11040 | 4 VERSION="0.98.4" |
taziden@1986 | 5 CATEGORY="network" |
erjo@1863 | 6 SHORT_DESC="Alvaro's Messenger" |
erjo@1863 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2491 | 8 DEPENDS="tk tls jpeg xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ |
pascal@4998 | 9 xorg-libXdmcp xorg-libXss zlib libpng libv4l gcc-lib-base" |
erjo@5702 | 10 BUILD_DEPENDS="tcl-dev tk-dev xorg-libXss-dev libv4l-dev libv4l" |
erjo@5702 | 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
erjo@1863 | 12 WEB_SITE="http://amsn-project.net/" |
slaxemulator@11040 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@3563 | 14 TAGS="chat messenger im" |
erjo@1863 | 15 |
erjo@1863 | 16 # Rules to configure and make the package. |
erjo@1863 | 17 compile_rules() |
erjo@1863 | 18 { |
erjo@1863 | 19 cd $src |
slaxemulator@11040 | 20 patch -Np0 -i $stuff/$PACKAGE-v4l2.patch |
erjo@1863 | 21 ./configure --prefix=/usr \ |
erjo@1863 | 22 --with-tcl=/usr/lib $CONFIGURE_ARGS && \ |
slaxemulator@11040 | 23 make && \ |
slaxemulator@11040 | 24 make DESTDIR=$DESTDIR install |
erjo@1863 | 25 } |
erjo@1863 | 26 |
erjo@1863 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1863 | 28 genpkg_rules() |
erjo@1863 | 29 { |
erjo@1863 | 30 mkdir -p $fs/usr |
erjo@1863 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@1863 | 32 cp -a $_pkg/usr/share $fs/usr |
erjo@1863 | 33 } |
erjo@1863 | 34 |