network-ups-tools: build dev files
This commit is contained in:
@@ -7,7 +7,7 @@ build_style=gnu-configure
|
|||||||
configure_args="
|
configure_args="
|
||||||
--sysconfdir=/etc/ups --without-doc --disable-static
|
--sysconfdir=/etc/ups --without-doc --disable-static
|
||||||
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
|
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
|
||||||
--with-usb --without-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
|
--with-usb --with-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
|
||||||
--with-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir
|
--with-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir
|
||||||
--with-snmp --with-drvpath=/var/lib/nut $(vopt_with cgi)"
|
--with-snmp --with-drvpath=/var/lib/nut $(vopt_with cgi)"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
@@ -54,6 +54,9 @@ network-ups-tools-devel_package() {
|
|||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="lib${sourcepkg}>=${version}_${revision}"
|
depends="lib${sourcepkg}>=${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so"
|
vmove usr/lib/*.so
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/share/man/man3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user