wok-next view nettle/receipt @ rev 21091

gtk-doc: fix "noarch"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 29 12:57:45 2018 +0200 (2018-12-29)
parents e7a485521d6a
children e19ff076dc63
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nettle"
4 VERSION="3.4"
5 CATEGORY="security"
6 SHORT_DESC="Nettle cryptographic library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="openssl-dev gmp-dev texinfo"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --libdir=/usr/lib \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install || return 1
25 chmod 0755 $install/usr/lib/*.so* # was 644
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 nettle)
31 copy @std
32 DEPENDS="gmp"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="nettle gmp-dev"
37 ;;
38 esac
39 }