libudev-zero: add hotplug helper
This commit is contained in:
parent
5225818a6e
commit
c59cbaa1c8
1 changed files with 4 additions and 0 deletions
|
@ -9,11 +9,15 @@ fetch() {
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
make
|
make
|
||||||
|
cd contrib
|
||||||
|
cc helper.c -o libudev-zero-hotplug-helper
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
make install PREFIX=/usr DESTDIR=$pkgdir
|
make install PREFIX=/usr DESTDIR=$pkgdir
|
||||||
|
install -d $pkgdir/usr/sbin
|
||||||
|
install -Dm755 ./contrib/libudev-zero-hotplug-helper $pkgdir/usr/sbin/
|
||||||
}
|
}
|
||||||
|
|
||||||
license() {
|
license() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue