ITA: GNU miscfiles

Warren Young
Tue Jul 12 17:06:00 GMT 2016


…I would like to adopt the GNU miscfiles package.  I have constructed the following cygport file, which seems to do the trick:


SUMMARY="Miscellaneous data files"

DESCRIPTION="This is the GNU Miscfiles package, which is a collection
of files not of crucial importance for system administration or
operation, but which have come to be common on various systems over the
years. It includes data files for country codes, airport codes, currency
information, and so on."


src_install() {
	cd ${B}
	cygmake -j11 DESTDIR=${D} install

	dodir /usr/share/dict
	dosym ../misc/web2a /usr/share/dict/words

	dodoc ${D}/usr/share/misc/GNU-manifesto
	rm ${D}/usr/share/misc/GNU-manifesto

The last line in my src_install() override seems heavy-handed.  I would have thought that dodoc would move the file into the doc directory from its default install location for me.

Can I avoid overriding src_install() entirely?  All I want to do here is move the GNU-manifesto file to the doc dir and create a /usr/share/dict/words symlink.

More information about the Cygwin-apps mailing list