* wine is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
28 lines
851 B
Bash
28 lines
851 B
Bash
# Template file for 'wvstreams'
|
|
pkgname=wvstreams
|
|
version=4.6.1
|
|
revision=20
|
|
build_style=gnu-configure
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2"
|
|
short_desc="Library for doing network in C++"
|
|
homepage="https://code.google.com/p/wvstreams"
|
|
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.orig.tar.gz"
|
|
makedepends="openssl-devel zlib-devel"
|
|
checksum=8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633
|
|
configure_args="--sbindir=/usr/bin --without-dbus --without-tcl --without-qt"
|
|
conf_files="/etc/uniconf.conf"
|
|
replaces="uniconf>=0"
|
|
|
|
CXXFLAGS="-Wno-narrowing"
|
|
|
|
wvstreams-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|