wok-current view network-manager/receipt @ rev 15185

linux-source: add mirror src fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 23 18:59:48 2013 +0000 (2013-08-23)
parents b994d2c0f802
children 13e77775cf22
line source
1 # SliTaz package receipt.
3 PACKAGE="network-manager"
4 VERSION="0.9.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Gnome network manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="NetworkManager"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://projects.gnome.org/NetworkManager/"
12 WGET_URL="$GNOME_MIRROR/$SOURCE/0.9/$TARBALL"
14 DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp iptables"
15 BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \
16 libnl-dev nss-dev ppp-dev iptables-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --libexecdir=/usr/lib/$PACKAGE \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --with-distro=arch \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/etc $fs
37 cp -a $install/ $fs
38 cp -a $install/usr/* $fs/usr
39 }