[ITA from Yaakov] libpaper

Ken Brown kbrown@cornell.edu
Wed May 13 01:05:27 GMT 2020


My cygport file is attached.  It bumps the version to 1.1.28 (latest upstream 
release) and changes one URL.  Otherwise it is the same as Yaakov's.

Ken
-------------- next part --------------
NAME="libpaper"
VERSION=1.1.28
RELEASE=1
CATEGORY="Libs"
SUMMARY="Paper handling library"
DESCRIPTION="The libpaper paper-handling library automates recognition of
many different paper types and sizes for programs that need to deal with
printed output."
HOMEPAGE="http://packages.debian.org/stable/source/libpaper"
SRC_URI="mirror://debian/pool/main/libp/libpaper/libpaper_${VERSION}.tar.gz"

PKG_NAMES="${NAME}1 ${NAME}-common ${NAME}-devel paperconf"
libpaper1_REQUIRES="${NAME}-common"
libpaper1_CONTENTS="usr/bin/cygpaper-1.dll"
libpaper_common_CONTENTS="etc/ usr/share/doc/ usr/share/man/man5/"
libpaper_devel_CONTENTS="usr/include/ usr/lib/ usr/share/man/man3/"
paperconf_CATEGORY="Utils"
paperconf_SUMMARY="Libpaper settings utilities"
paperconf_OBSOLETES="${NAME}-bin"
paperconf_CONTENTS="usr/bin/*.exe usr/sbin/ usr/share/man/man[18]/"

MAKEOPTS+=" LDFLAGS=-no-undefined"

src_install() {
	cd ${B}
	cyginstall

	# provide a default config (seemingly required for a2ps)
	dodir /etc
	echo letter > ${D}/etc/papersize
	make_etc_defaults /etc/papersize
}


More information about the Cygwin-apps mailing list