opt/hpcups/Pkgfile

30 lines
763 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Ghostscript add-on for HP inkjet/laserjet printers
2021-02-19 11:15:29 +01:00
# URL: https://sourceforge.net/projects/hplip/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: cups libjpeg-turbo
2006-02-23 16:26:10 +01:00
2012-09-11 15:15:10 +02:00
name=hpcups
2023-06-12 10:51:57 +02:00
version=3.23.5
2018-09-28 13:29:02 +02:00
release=1
source=(http://downloads.sourceforge.net/project/hplip/hplip/$version/hplip-$version.tar.gz)
2006-02-23 16:26:10 +01:00
2021-02-19 11:15:29 +01:00
build() {
cd hplip-$version
2008-03-14 11:14:41 +01:00
2021-02-19 11:15:29 +01:00
./configure \
--prefix=/usr \
--enable-hpcups-only-build \
--enable-hpcups-install \
--with-hpppddir=/usr/share/cups/model/HP \
--disable-{doc,network}-build
2010-01-05 12:09:35 +01:00
2021-02-19 11:15:29 +01:00
make
make DESTDIR=$PKG install
2007-09-02 11:04:21 +02:00
2021-02-19 11:15:29 +01:00
# https://bugs.archlinux.org/task/59548
install prnt/hpcups/libImageProcessor-x86_64.so $PKG/usr/lib
ln -s libImageProcessor-x86_64.so $PKG/usr/lib/libImageProcessor.so
2018-08-11 19:18:42 +02:00
2021-02-19 11:15:29 +01:00
rm -r $PKG/usr/share/doc
2006-02-23 16:26:10 +01:00
}