mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
tgt: update to 1.0.70.
This commit is contained in:
parent
6c819afc61
commit
d5963684bb
1 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'tgt'
|
# Template file for 'tgt'
|
||||||
pkgname=tgt
|
pkgname=tgt
|
||||||
version=1.0.69
|
version=1.0.70
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="sbindir=/usr/bin"
|
make_install_args="sbindir=/usr/bin"
|
||||||
|
@ -9,17 +9,18 @@ make_dirs="/etc/tgt/conf.d 0755 root root"
|
||||||
hostmakedepends="libxslt docbook-xsl"
|
hostmakedepends="libxslt docbook-xsl"
|
||||||
depends="perl-Config-General"
|
depends="perl-Config-General"
|
||||||
short_desc="Linux SCSI target framework"
|
short_desc="Linux SCSI target framework"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://stgt.sourceforge.net/"
|
homepage="http://stgt.sourceforge.net/"
|
||||||
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
|
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
|
||||||
checksum=08287df2547aa7df26e81b53f9d76bad0f080b59e42d013c46985d7a6d8e242d
|
checksum=921304808b31ac1592e071683799b9ff0f46db8e0eb79a7bff02e0081776b4ba
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS)/g' usr/Makefile
|
sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS)/g' usr/Makefile
|
||||||
sed -i '/^LDFLAGS/d; /CC.*-o/s/$/ $(LDFLAGS)/' 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 <sys/user.h>' usr/tgtd.h usr/util.h
|
||||||
sed -i '1i#include <fcntl.h>' usr/libssc.c
|
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
|
sed -i 's/__always_inline/inline/g' usr/util.h
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue