void-packages/srcpkgs/splix-svn/template

29 lines
865 B
Bash
Raw Normal View History

2015-03-22 13:13:58 +01:00
# Template file for 'splix-svn'
pkgname=splix-svn
_svnrev=315
version=r$_svnrev
2015-04-25 03:25:46 +02:00
revision=2
2015-03-22 13:13:58 +01:00
build_style=gnu-makefile
hostmakedepends="subversion"
2015-04-25 03:25:46 +02:00
makedepends="cups-devel mit-krb5-devel jbigkit-devel"
2015-03-22 13:13:58 +01:00
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-04-25 03:25:46 +02:00
CXXFLAGS=" -fno-strict-aliasing"
2015-03-22 13:13:58 +01:00
do_fetch() {
svn checkout svn://svn.code.sf.net/p/splix/code/splix@$_svnrev $pkgname-$version
}
2015-04-25 03:25:46 +02:00
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
}