wok-next view network-manager/receipt @ rev 20827

new tor: 0.3.3.7
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Jun 14 10:13:14 2018 +0000 (2018-06-14)
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 }