void-packages/srcpkgs/libnl/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

23 lines
660 B
Bash

# Template file for 'libnl'
pkgname=libnl
version=1.1.4
revision=4
build_style=gnu-configure
short_desc="Library for applications dealing with netlink sockets"
homepage="http://www.infradead.org/~tgr/libnl/"
license="LGPL-2.1-only"
maintainer="Orphaned <orphan@voidlinux.org>"
distfiles="http://www.infradead.org/~tgr/libnl/files/libnl-${version}.tar.gz"
checksum=4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063
patch_args=-Np0
libnl-devel_package() {
depends="libnl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}