void-packages/srcpkgs/rdis-git/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

26 lines
712 B
Bash

# Template file for 'rdis-git'
pkgname=rdis-git
version=20150722
revision=12
hostmakedepends="pkg-config git"
makedepends="openssl-devel gtk+3-devel jansson-devel LuaJIT-devel udis86-devel"
short_desc="A binary analysis tool for Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3"
homepage="https://github.com/endeav0r/rdis"
patch_args=-Np0
do_fetch() {
git clone git://github.com/endeav0r/rdis.git $wrksrc
cd $wrksrc
git reset --hard 1370ca0f737a790e3ca7d7d9513543d7ea52c3a4
}
do_build() {
sed -i src/Makefile src/*/Makefile \
-e "s;^\(CCFLAGS=\)\(.*\);\1${CFLAGS} \2;" \
-e 's;$(LIB) $(CCFLAGS);$(LIB) $(LDFLAGS) $(CCFLAGS);'
make CC=$CC ${makejobs}
}
do_install() {
vbin src/rdis
}