mt-st: enable build_pie; use our {C,LD}FLAGS.
This commit is contained in:
parent
ea9a3cb3d6
commit
a74395b466
1 changed files with 5 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'mt-st'
|
# Template file for 'mt-st'
|
||||||
pkgname=mt-st
|
pkgname=mt-st
|
||||||
version=1.1
|
version=1.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_pie=yes
|
||||||
short_desc="Linux SCSI tape driver aware magnetic tape control (aka mt)"
|
short_desc="Linux SCSI tape driver aware magnetic tape control (aka mt)"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -10,6 +10,9 @@ homepage="http://ftp.ibiblio.org/pub/linux/system/backup/"
|
||||||
distfiles="ftp://ftp.ibiblio.org/pub/linux/system/backup/mt-st-${version}.tar.gz"
|
distfiles="ftp://ftp.ibiblio.org/pub/linux/system/backup/mt-st-${version}.tar.gz"
|
||||||
checksum=945cb4f3d9957dabe768f5941a9148b746396836c797b25f020c84319ba8170d
|
checksum=945cb4f3d9957dabe768f5941a9148b746396836c797b25f020c84319ba8170d
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
|
||||||
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin mt
|
vbin mt
|
||||||
vman mt.1
|
vman mt.1
|
||||||
|
|
Loading…
Reference in a new issue