2010-05-22 05:51:58 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
_origname=initscripts
|
2011-05-26 06:18:26 +08:00
|
|
|
pkgname=initscripts-live
|
|
|
|
pkgver=2011.02
|
2011-05-23 21:15:06 +08:00
|
|
|
pkgrel=1
|
2010-05-22 05:51:58 +08:00
|
|
|
pkgdesc="System initialization/bootup scripts"
|
2011-02-13 06:19:36 +08:00
|
|
|
arch=('i686' 'x86_64')
|
2010-05-26 06:34:31 +08:00
|
|
|
url="http://www.chakra-project.org"
|
2011-02-13 06:19:36 +08:00
|
|
|
license=('GPL2')
|
2010-09-27 01:05:50 +08:00
|
|
|
groups=('livecd')
|
2010-07-28 08:00:29 +08:00
|
|
|
provides=("initscripts=${pkgver}")
|
2011-05-26 06:18:26 +08:00
|
|
|
conflicts=('initscripts' 'chakra-initscripts')
|
2011-02-13 06:19:36 +08:00
|
|
|
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
|
2011-05-26 06:18:26 +08:00
|
|
|
depends=('bash' 'awk' 'grep' 'coreutils' 'sed' 'udev'
|
2011-02-13 06:19:36 +08:00
|
|
|
'net-tools' 'ncurses' 'kbd' 'findutils' 'sysvinit')
|
|
|
|
optdepends=('bridge-utils: Network bridging support'
|
|
|
|
'dhcpcd: DHCP network configuration'
|
|
|
|
'wireless_tools: Wireless networking')
|
|
|
|
install=initscripts.install
|
|
|
|
source=("http://chakra-project.org/sources/initscripts/initscripts-${pkgver}.tar.xz"
|
|
|
|
'http://chakra-project.org/sources/initscripts/wireless.conf.d'
|
2011-05-26 06:18:26 +08:00
|
|
|
"http://chakra-project.org/sources/initscripts/${pkgname}-${pkgver}-${pkgrel}.patch")
|
|
|
|
sha256sums=('0734166a2fd170a8b144a51d8be5ac3773f8c1381240a744cfd05005464aabda'
|
2011-02-13 06:19:36 +08:00
|
|
|
'0eba4250b07e0a727ef64772f5ee9027b123cbd4bb0894ba2842f545035c827f'
|
2011-05-26 06:18:26 +08:00
|
|
|
'da4d3722c1cbb8b69692bbd987d21201c6007ea0e56c8eb399bc80afcfa590e7')
|
2010-05-22 05:51:58 +08:00
|
|
|
|
2011-02-13 06:19:36 +08:00
|
|
|
package() {
|
2011-05-26 06:18:26 +08:00
|
|
|
cd ${srcdir}/${_origname}-${pkgver}
|
|
|
|
DESTDIR=${pkgdir} ./install.sh
|
2011-02-13 06:19:36 +08:00
|
|
|
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
|
2011-05-26 06:18:26 +08:00
|
|
|
#cp -vr ${startdir}/etc ${pkgdir}
|
2011-02-13 06:19:36 +08:00
|
|
|
cd ${pkgdir}
|
2011-05-26 06:18:26 +08:00
|
|
|
patch -Np1 -i ${srcdir}/${pkgname}-${pkgver}-${pkgrel}.patch || return 1
|
2010-05-22 05:51:58 +08:00
|
|
|
}
|