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