wok-6.x annotate libotr/receipt @ rev 21738
clementine: added libatomic to BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 13 17:49:58 2019 +0100 (2019-06-13) |
parents | b0c60d808e5c |
children | ad8b9ff412d2 |
rev | line source |
---|---|
pascal@15216 | 1 # SliTaz package receipt. |
pascal@15216 | 2 |
pascal@15216 | 3 PACKAGE="libotr" |
Hans-G?nter@21270 | 4 VERSION="4.1.1" |
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" |
Hans-G?nter@21270 | 9 WEB_SITE="https://www.cypherpunks.ca/otr/" |
Hans-G?nter@21270 | 10 |
pascal@15216 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15216 | 12 WGET_URL="$WEB_SITE$TARBALL" |
pascal@15216 | 13 |
pascal@15216 | 14 DEPENDS="libgcrypt libgpg-error" |
pascal@15216 | 15 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev" |
pascal@15216 | 16 |
pascal@15216 | 17 # Rules to configure and make the package. |
pascal@15216 | 18 compile_rules() |
pascal@15216 | 19 { |
Hans-G?nter@21270 | 20 ./configure \ |
Hans-G?nter@21270 | 21 --prefix=/usr \ |
Hans-G?nter@21270 | 22 $CONFIGURE_ARGS && |
Hans-G?nter@21270 | 23 make -j 1 && |
pascal@15216 | 24 make DESTDIR=$DESTDIR install |
pascal@15216 | 25 } |
pascal@15216 | 26 |
pascal@15216 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15216 | 28 genpkg_rules() |
pascal@15216 | 29 { |
pascal@15216 | 30 mkdir -p $fs/usr/lib |
Hans-G?nter@21270 | 31 |
Hans-G?nter@21270 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21270 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15216 | 34 } |