wok annotate ayttm/receipt @ rev 22180
linld: spare up to 30k more for zImage (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 09 17:39:43 2019 +0100 (2019-11-09) |
parents | 7f39549720b8 |
children | 736b965f54dc |
rev | line source |
---|---|
pascal@11217 | 1 # SliTaz package receipt. |
pascal@11217 | 2 |
pascal@11217 | 3 PACKAGE="ayttm" |
pascal@11217 | 4 VERSION="0.6.3" |
pascal@11217 | 5 CATEGORY="network" |
pascal@11217 | 6 SHORT_DESC="Universal instant messenger client" |
pascal@11217 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@11217 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11217 | 10 WEB_SITE="http://ayttm.sourceforge.net/" |
al@19275 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15002 | 12 |
pascal@12427 | 13 BUILD_DEPENDS="gtk+-dev zlib-dev audiofile-dev xcb-util-dev openssl-dev flex \ |
slaxemulator@12438 | 14 enchant-dev xorg-libXpm-dev libtool" |
gokhlayeh@11454 | 15 DEPENDS="gtk+ zlib audiofile xcb-util openssl enchant aspell xorg-libXpm" |
pascal@11217 | 16 |
pascal@11217 | 17 # Rules to configure and make the package. |
pascal@11217 | 18 compile_rules() |
pascal@11217 | 19 { |
pascal@17782 | 20 # remove -lfl |
pascal@17782 | 21 sed -i 's/LEXLIB=.*/LEXLIB=/' configure |
al@19275 | 22 |
al@19275 | 23 ./configure \ |
al@19275 | 24 --prefix=/usr \ |
al@19275 | 25 --infodir=/usr/share/info \ |
al@19275 | 26 --mandir=/usr/share/man \ |
al@19275 | 27 --disable-webcam \ |
al@19275 | 28 --disable-esd \ |
al@19275 | 29 --disable-arts \ |
al@19275 | 30 --enable-lj \ |
al@19275 | 31 $CONFIGURE_ARGS && |
pascal@11217 | 32 make && make install |
pascal@11217 | 33 } |
pascal@11217 | 34 |
pascal@11217 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 36 genpkg_rules() |
pascal@11217 | 37 { |
pascal@11217 | 38 mkdir -p $fs/usr/ |
pascal@11217 | 39 mkdir -p $fs/etc/ |
pascal@11217 | 40 cp -a $install/usr/bin $fs/usr |
pascal@11217 | 41 cp -a $install/usr/lib $fs/usr |
pascal@11217 | 42 cp -a $install/usr/share/ $fs/usr |
pascal@11217 | 43 cp $install/usr/etc/ayttmrc $fs/etc/ayttmrc |
pascal@11217 | 44 } |