wok-current view network-manager/receipt @ rev 14871
musl-libc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 23 09:36:13 2013 +0000 (2013-07-23) |
parents | |
children | 7896f0694ef6 |
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 SOURCE="NetworkManager"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://projects.gnome.org/NetworkManager/"
11 WGET_URL="$GNOME_MIRROR/$SOURCE/0.9/$TARBALL"
13 DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp iptables"
14 BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \
15 libnl-dev nss-dev ppp-dev iptables-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --with-distro=arch \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/etc $fs
36 cp -a $install/ $fs
37 cp -a $install/usr/* $fs/usr
38 }