mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 12:57:44 +08:00
libnl and wpa_supp corrections
This commit is contained in:
parent
f9803ae80f
commit
eab56bdccc
@ -11,7 +11,7 @@ pkgdesc="Library for applications dealing with netlink sockets"
|
||||
arch=('x86_64')
|
||||
license=('GPL')
|
||||
depends=('glibc')
|
||||
conflict=('libnl3')
|
||||
conflicts=('libnl3')
|
||||
backup=('etc/libnl/classid' 'etc/libnl/pktloc')
|
||||
options=(!libtool)
|
||||
source=("http://www.infradead.org/~tgr/libnl/files/$pkgname-$pkgver.tar.gz")
|
||||
|
@ -23,7 +23,7 @@ build() {
|
||||
cp "${srcdir}/config" ./.config
|
||||
sed -i 's@/usr/local@$(PREFIX)@g' Makefile
|
||||
|
||||
make
|
||||
make PREFIX=/usr
|
||||
}
|
||||
|
||||
package() {
|
||||
@ -39,7 +39,7 @@ package() {
|
||||
|
||||
install -m755 -d "${pkgdir}/usr/share/dbus-1/system-services"
|
||||
install -m644 dbus/{fi.epitest.hostap.WPASupplicant.service,fi.w1.wpa_supplicant1.service} "${pkgdir}/usr/share/dbus-1/system-services/"
|
||||
sed -e 's/sbin/usr\/sbin/' -i "${pkgdir}/usr/share/dbus-1/system-services/"*.service
|
||||
|
||||
install -m755 -d "${pkgdir}/etc/dbus-1/system.d"
|
||||
install -m644 dbus/dbus-wpa_supplicant.conf "${pkgdir}/etc/dbus-1/system.d/wpa_supplicant.conf"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user