wok-next view network-manager/receipt @ rev 20667
qemu/qemu-light: race condition, ppp/sane-backends: set group
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 11 09:27:12 2018 +0200 (2018-05-11) |
parents | 757d032c55c7 |
children | 4e6503d7a19f |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="network-manager"
4 VERSION="0.9.8.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNOME network manager"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://projects.gnome.org/NetworkManager/"
11 TARBALL="NetworkManager-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/NetworkManager/${VERSION%.*.*}/$TARBALL"
14 BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \
15 libnl-dev nss-dev ppp-dev iptables-dev util-linux-uuid-dev dhcp-client \
16 intltool eudev-dev"
17 SPLIT="network-manager-dev"
19 compile_rules() {
20 sed -i '/expires > 0)$/{p;s/.*/{/;NNN;s/$/\n}/}' \
21 src/ip6-manager/nm-ip6-manager.c
22 sed -i 's/.\(if (.nm_supplicant_config_add_setting_8021x\)/ \1/' \
23 src/supplicant-manager/nm-supplicant-config.c
25 ./configure \
26 --libexecdir=/usr/lib/$PACKAGE \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 network-manager)
36 copy @std
37 DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp \
38 iptables dhcp-client"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }