wok-next annotate libotr/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 5841522533ec
children
rev   line source
al@20456 1 # SliTaz package receipt v2.
pascal@15216 2
pascal@15216 3 PACKAGE="libotr"
pascal@15216 4 VERSION="4.0.0"
pascal@15216 5 CATEGORY="network"
al@20456 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"
al@21020 9 WEB_SITE="https://otr.cypherpunks.ca/"
al@20456 10
pascal@15216 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15216 12 WGET_URL="$WEB_SITE$TARBALL"
pascal@15216 13
pascal@15216 14 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@15216 16
al@20456 17 compile_rules() {
al@20595 18 ./configure $CONFIGURE_ARGS &&
al@20595 19 fix libtool &&
pascal@15216 20 make &&
al@21020 21 make DESTDIR=$install install
pascal@15216 22 }
pascal@15216 23
al@20456 24 genpkg_rules() {
al@20456 25 case $PACKAGE in
al@20456 26 libotr)
al@20456 27 copy @std
al@20456 28 DEPENDS="libgcrypt libgpg-error"
al@20456 29 ;;
al@20456 30 *-dev)
al@20456 31 copy @dev
al@20456 32 ;;
al@20456 33 esac
pascal@15216 34 }