void-packages/srcpkgs/splix/template

26 lines
908 B
Bash
Raw Normal View History

2015-07-18 19:00:05 +02:00
# Template file for 'splix-svn'
pkgname=splix
2015-07-20 14:32:48 +02:00
version=2.0.0+svn315
2015-07-20 15:03:06 +02:00
revision=2
2015-07-20 14:32:48 +02:00
wrksrc="$pkgname-$version.orig"
2015-07-18 19:00:05 +02:00
build_style=gnu-makefile
makedepends="cups-devel mit-krb5-devel jbigkit-devel"
short_desc="CUPS driver for SPL printers (Samsung and several Xerox printers)"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-2"
homepage="http://splix.ap2c.org"
2015-07-20 14:32:48 +02:00
distfiles="${DEBIAN_SITE}/main/s/$pkgname/${pkgname}_$version.orig.tar.gz"
2015-07-18 19:00:05 +02:00
checksum="578a81bd5b1b97756a539c3bb6339fd109d54419887a73e705941da8aa7fac52"
CXXFLAGS=" -fno-strict-aliasing"
do_build() {
make CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \
CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP="true" drv
make CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \
CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP="true" all DRV_ONLY=1
}
do_install() {
make STRIP=true PREFIX=/usr DESTDIR="${DESTDIR}" install DRV_ONLY=1
}