wok-current annotate libotr/receipt @ rev 15958
Add nsd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 20:33:22 2014 +0000 (2014-02-23) |
parents | |
children | a74c70f5faaa |
rev | line source |
---|---|
pascal@15216 | 1 # SliTaz package receipt. |
pascal@15216 | 2 |
pascal@15216 | 3 PACKAGE="libotr" |
pascal@15216 | 4 VERSION="4.0.0" |
pascal@15216 | 5 CATEGORY="network" |
pascal@15216 | 6 SHORT_DESC="Allows you to have private conversations over messenger." |
pascal@15216 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15216 | 8 LICENSE="GPL2 LGPL2.1" |
pascal@15216 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15216 | 10 WEB_SITE="http://www.cypherpunks.ca/otr/" |
pascal@15216 | 11 WGET_URL="$WEB_SITE$TARBALL" |
pascal@15216 | 12 |
pascal@15216 | 13 DEPENDS="libgcrypt libgpg-error" |
pascal@15216 | 14 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev" |
pascal@15216 | 15 |
pascal@15216 | 16 # Rules to configure and make the package. |
pascal@15216 | 17 compile_rules() |
pascal@15216 | 18 { |
pascal@15216 | 19 cd $src |
pascal@15216 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@15216 | 21 make && |
pascal@15216 | 22 make DESTDIR=$DESTDIR install |
pascal@15216 | 23 } |
pascal@15216 | 24 |
pascal@15216 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15216 | 26 genpkg_rules() |
pascal@15216 | 27 { |
pascal@15216 | 28 mkdir -p $fs/usr/lib |
pascal@15216 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15216 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15216 | 31 } |