tgt: update to 1.0.82.
This commit is contained in:
parent
9c0521522d
commit
e53ea65eb8
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'tgt'
|
# Template file for 'tgt'
|
||||||
pkgname=tgt
|
pkgname=tgt
|
||||||
version=1.0.81
|
version=1.0.82
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="sbindir=/usr/bin"
|
make_install_args="sbindir=/usr/bin"
|
||||||
|
@ -13,17 +13,12 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://github.com/fujita/tgt"
|
homepage="https://github.com/fujita/tgt"
|
||||||
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
|
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
|
||||||
checksum=f8a285549456f13fecf628131a73934ffcbb701bacb7d5802acee7b515ab5452
|
checksum=35156277465e0ced5f3ca7e301110a937a7a2b90bbb5aecbca1349b91ada1c2c
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile
|
sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile
|
||||||
sed -i '/^LDFLAGS/d; /CC.*-o/s/$/ $(LDFLAGS)/' usr/Makefile
|
|
||||||
sed -i '1i#include <sys/user.h>' usr/tgtd.h usr/util.h
|
|
||||||
sed -i '1i#include <fcntl.h>' usr/libssc.c
|
|
||||||
sed -i '1i#include <sys/sysmacros.h>' usr/bs_sg.c
|
|
||||||
sed -i 's/__always_inline/inline/g' usr/util.h
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
for f in ${DESTDIR}/etc/tgt/examples/*; do
|
for f in ${DESTDIR}/etc/tgt/examples/*; do
|
||||||
vsconf $f
|
vsconf $f
|
||||||
|
|
Loading…
Reference in a new issue