wok view libotr/receipt @ rev 17873

eom: Update bdeps and genpkg_rules
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 27 02:10:52 2015 -0300 (2015-03-27)
parents
children a74c70f5faaa
line source
1 # SliTaz package receipt.
3 PACKAGE="libotr"
4 VERSION="4.0.0"
5 CATEGORY="network"
6 SHORT_DESC="Allows you to have private conversations over messenger."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cypherpunks.ca/otr/"
11 WGET_URL="$WEB_SITE$TARBALL"
13 DEPENDS="libgcrypt libgpg-error"
14 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 }