libdnet: move dnet-config to -devel pkg

This commit is contained in:
maxice8 2018-11-19 01:07:40 -02:00 committed by maxice8
parent 699fb008f0
commit f70cbecc5f

View file

@ -1,15 +1,15 @@
# Template file for 'libdnet' # Template file for 'libdnet'
pkgname=libdnet pkgname=libdnet
version=1.12 version=1.12
revision=1 revision=2
hostmakedepends="automake libtool autoconf pkg-config"
wrksrc="libdnet-libdnet-${version}" wrksrc="libdnet-libdnet-${version}"
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake libtool autoconf pkg-config"
short_desc="A portable interface to low level networking routines" short_desc="A portable interface to low level networking routines"
maintainer="Carson Page <pagem.carson@gmail.com>" maintainer="Carson Page <pagem.carson@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/dugsong/libdnet" homepage="https://github.com/dugsong/libdnet"
distfiles="https://github.com/dugsong/libdnet/archive/libdnet-${version}.tar.gz" distfiles="https://github.com/dugsong/libdnet/archive/libdnet-${version}.tar.gz"
license="BSD"
checksum=b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424 checksum=b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424
pre_configure() { pre_configure() {
@ -24,6 +24,7 @@ libdnet-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/bin/dnet-config
vmove usr/share/man/man3 vmove usr/share/man/man3
vmove usr/include vmove usr/include
vmove "usr/lib/*.a" vmove "usr/lib/*.a"