wok-6.x annotate openconnect/receipt @ rev 15597
Update some bdeps with pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 11:43:50 2013 +0000 (2013-12-05) |
parents | b7a58cabbb13 |
children | eeba7ab1dffe |
rev | line source |
---|---|
samuel_trassare@11729 | 1 # SliTaz package receipt. |
samuel_trassare@11729 | 2 |
samuel_trassare@11729 | 3 PACKAGE="openconnect" |
samuel_trassare@13381 | 4 VERSION="4.07" |
samuel_trassare@11729 | 5 CATEGORY="network" |
samuel_trassare@11729 | 6 SHORT_DESC="A client for Cisco's AnyConnect SSL VPN." |
samuel_trassare@11729 | 7 MAINTAINER="samuel_trassare@yahoo.com" |
pascal@15590 | 8 LICENSE="LGPL2.1" |
samuel_trassare@11729 | 9 WEB_SITE="http://http://www.infradead.org/openconnect" |
samuel_trassare@11729 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
samuel_trassare@11729 | 11 WGET_URL="ftp://ftp.infradead.org/pub/openconnect/$TARBALL" |
samuel_trassare@11729 | 12 |
samuel_trassare@11729 | 13 DEPENDS="vpnc openssl libxml2" |
samuel_trassare@11729 | 14 # Will require libtirpc when glibc is upgraded to 2.14. |
samuel_trassare@13381 | 15 BUILD_DEPENDS="openssl-dev zlib pkg-config libxml2-dev vpnc" |
samuel_trassare@11729 | 16 |
samuel_trassare@11729 | 17 # Rules to configure and make the package. |
samuel_trassare@11729 | 18 compile_rules() |
samuel_trassare@11729 | 19 { |
samuel_trassare@13381 | 20 ./configure $CONFIGURE_ARGS && |
samuel_trassare@11729 | 21 make && |
samuel_trassare@11729 | 22 make install |
samuel_trassare@11729 | 23 } |
samuel_trassare@11729 | 24 |
samuel_trassare@11729 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@11729 | 26 genpkg_rules() |
samuel_trassare@11729 | 27 { |
samuel_trassare@11729 | 28 mkdir -p $fs/usr/sbin |
samuel_trassare@11729 | 29 cp -a $install/usr/sbin/openconnect $fs/usr/sbin |
samuel_trassare@11729 | 30 |
samuel_trassare@11729 | 31 mkdir -p $fs/usr/lib |
samuel_trassare@11729 | 32 cp -a $install/usr/lib/*so* $fs/usr/lib |
samuel_trassare@11729 | 33 } |