26 lines
901 B
Bash
26 lines
901 B
Bash
# Template file for 'splix'
|
|
pkgname=splix
|
|
version=2.0.1
|
|
revision=1
|
|
makedepends="cups-devel mit-krb5-devel jbigkit-devel"
|
|
short_desc="CUPS driver for SPL printers (Samsung and several Xerox printers)"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://splix.ap2c.org"
|
|
distfiles="${DEBIAN_SITE}/main/s/$pkgname/${pkgname}_$version.orig.tar.gz"
|
|
checksum=b672501f16f07f3c43543708248b789d15467eacfe18f25ab8f83f0209da1f8a
|
|
CXXFLAGS="-fno-strict-aliasing"
|
|
|
|
do_build() {
|
|
vsed -i rules.mk \
|
|
-e's;$(CXX) -o;$(CXX) $(LDFLAGS) -o;'
|
|
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
|
|
}
|