wok-next diff netcf/receipt @ rev 20712
libtorrent: fix rtorrent building for non-64bit archs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:13:53 2018 +0300 (2018-05-27) |
parents | |
children | d5aab818505e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netcf/receipt Sun May 27 12:13:53 2018 +0300 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="netcf" 1.7 +VERSION="0.2.8" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="A library for configuring network interfaces" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="LGPL2.1" 1.12 +WEB_SITE="https://pagure.io/netcf" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://releases.pagure.org/netcf/$TARBALL" 1.16 + 1.17 +BUILD_DEPENDS="automake libxml2-dev libxslt-dev readline-dev augeas-dev \ 1.18 +libnl-dev" 1.19 +SPLIT="netcf-dev" 1.20 + 1.21 +compile_rules() { 1.22 + aclocal 1.23 + automake --add-missing 1.24 + autoreconf 1.25 + ./configure \ 1.26 + --disable-static \ 1.27 + --with-driver=redhat \ 1.28 + --libexecdir=/usr/lib/netcf \ 1.29 + $CONFIGURE_ARGS && 1.30 + make && 1.31 + make install 1.32 +} 1.33 + 1.34 +genpkg_rules() { 1.35 + case $PACKAGE in 1.36 + netcf) 1.37 + copy @std 1.38 + DEPENDS="augeas libgcrypt libgpg-error libnl libxml2 libxslt \ 1.39 + readline" 1.40 + ;; 1.41 + *-dev) 1.42 + copy @dev 1.43 + ;; 1.44 + esac 1.45 +}