wok-next view network-manager/receipt @ rev 21059
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 04 13:43:21 2018 +0200 (2018-12-04) |
parents | f48456621a9d |
children |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/NetworkManager"
10 REPOLOGY="networkmanager"
12 TARBALL="NetworkManager-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/NetworkManager/${VERSION%.*.*}/$TARBALL"
15 BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk2-dev wireless_tools-dev libgudev-dev \
16 libnl-dev nss-dev ppp-dev iptables-dev util-linux-uuid-dev dhcp-client \
17 intltool eudev-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 sed -i '/expires > 0)$/{p;s/.*/{/;NNN;s/$/\n}/}' \
22 src/ip6-manager/nm-ip6-manager.c
23 sed -i 's/.\(if (.nm_supplicant_config_add_setting_8021x\)/ \1/' \
24 src/supplicant-manager/nm-supplicant-config.c
26 ./configure \
27 --libexecdir=/usr/lib/$PACKAGE \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 network-manager)
37 copy @std
38 DEPENDS="dbus dbus-glib gtk2 wireless_tools libgudev libnl nss ppp \
39 iptables dhcp-client"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }