|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../wicd/wicd.conf
|
|
|
|
# Copyright (C) 2007 The OpenSDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
chownsrcdir=0
|
|
|
|
srcdir=
|
|
|
|
makeopt=
|
|
|
|
makeinstopt=
|
|
|
|
|
|
|
|
wicd_install() {
|
|
|
|
mkdir -p "$root/opt/wicd/"
|
|
|
|
cp -avf opt/wicd/* $root/opt/wicd/
|
|
|
|
cp -avf usr/share/applications/hammer* $root/usr/share/applications/wicd.desktop
|
|
|
|
cp -avf usr/share/pixmaps/* $root/usr/share/pixmaps
|
|
|
|
if pkginstalled sysvinit; then
|
|
|
|
cp -avf etc/init.d/wicd $root/etc/init.d/wicd
|
|
|
|
fi
|
|
|
|
if pkginstalled acpi; then
|
|
|
|
cp-avf etc/acpi/resume.d/* $root/etc/acpi/resume.d/
|
|
|
|
fi
|
|
|
|
if pkginstalled dbus; then
|
|
|
|
cp -avf etc/dbus-1/system.d/* $root/etc/dbus-1/system.d/
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
hook_add postmake 5 'wicd_install'
|