################################################################################ # # relocatable.cygclass - functions for building packages that use Bruno Haible's # relocation framework (e.g. libiconv and gettext, with # --enable-relocatable) # # Copyright (C) 2006 Charles Wilson # Distributed under the terms of the GNU General Public License v2 # ################################################################################ _ENABLE_RELOCATION=1 relocatable_conf() { cygconf } relocatable_install() { cyginstall } ### the following do not have support for dir changes, disallow dolib() { error "/usr/lib/cygport/bin/dolib needs dir change support." ; } dobin() { error "/usr/lib/cygport/bin/dobin needs dir change support." ; } doman() { error "/usr/lib/cygport/bin/doman needs dir change support." ; } dosbin() { error "/usr/lib/cygport/bin/dosbin needs dir change support." ; } doicon() { error "/usr/lib/cygport/bin/doicon needs dir change support." ; } domenu() { error "/usr/lib/cygport/bin/domenu needs dir change support." ; } newbin() { error "/usr/lib/cygport/bin/newbin needs dir change support." ; } newman() { error "/usr/lib/cygport/bin/newman needs dir change support." ; } newicon() { error "/usr/lib/cygport/bin/newicon needs dir change support." ; } newmenu() { error "/usr/lib/cygport/bin/newmenu needs dir change support." ; } ### use dosym with care: both arguments must be specified with ${RELOCDIR} ### ditto for dodir: argument must be specified with ${RELOCDIR}