wok-next diff libotr/receipt @ rev 19276
get-vivaldi: fix rpm url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 05 16:47:32 2016 +0200 (2016-07-05) |
parents | |
children | c3a368c0cddb |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libotr/receipt Tue Jul 05 16:47:32 2016 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libotr" 1.7 +VERSION="4.0.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Allows you to have private conversations over messenger." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2 LGPL2.1" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.cypherpunks.ca/otr/" 1.14 +WGET_URL="$WEB_SITE$TARBALL" 1.15 + 1.16 +DEPENDS="libgcrypt libgpg-error" 1.17 +BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure --prefix=/usr $CONFIGURE_ARGS && 1.24 + make && 1.25 + make DESTDIR=$DESTDIR install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/lib 1.32 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.33 + cp -a $install/usr/bin $fs/usr 1.34 +}