This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
ITA: GNU miscfiles
- From: Warren Young <wyml at etr-usa dot com>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 12 Jul 2016 11:06:36 -0600
- Subject: ITA: GNU miscfiles
- Authentication-results: sourceware.org; auth=none
Per https://cygwin.com/ml/cygwin/2016-07/msg00160.html
…I would like to adopt the GNU miscfiles package. I have constructed the following cygport file, which seems to do the trick:
NAME=miscfiles
VERSION=1.5
RELEASE=1
SUMMARY="Miscellaneous data files"
HOMEPAGE="https://www.gnu.org/software/miscfiles/"
SRC_URI="https://ftp.gnu.org/gnu/${PN}/${PN}-${PV}.tar.gz"
CATEGORY=Misc
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."
CYGCONF_ARGS="--datarootdir=/usr/share/misc"
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.