TABLE OF CONTENTS
- Title
- Introduction
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Checks
- check_prog
- check_prog_req
- check_tool
- check_target_tool
- check_pkg_config
- check_girepository_module
- check_lua_module
- check_ocaml_module
- check_perl_module
- check_php_module
- check_python2_module
- check_python3_module
- check_R_module
- check_ruby_module
- check_tcl_module
- check_tex_module
- check_vala_module
- check_header
- check_lib
- Chapter 8
- Chapter 9
- Chapter 10
- Installing
- dodir
- keepdir
- dobin
- newbin
- docinto
- dodoc
- newdoc
- exeinto
- doexe
- newexe
- insinto
- doins
- newins
- doicon
- newicon
- includeinto
- doinclude
- dolib
- newlib
- doinfo
- doman
- newman
- domenu
- newmenu
- dopkgconfig
- dosbin
- newsbin
- dosym
- dotool
- doenv
- make_autostart_entry
- make_desktop_entry
- make_etc_defaults
- update_etc_shells
- cyginstall
- src_install
- Chapter 11
- Postinstall
- Core X11 Fonts
- Freedesktop.org MIME
- GConf Schemas
- GdkPixbuf Loaders
- GTK+ Input Method Modules
- Icon Themes
- Python Bytecompiling
- TeX Live
- X Sessions
- Documentation Files
- Emacs Lisp
- Post-install and Pre-remove Scripts
- Shell Profile Files
- Man Pages
- Info Pages
- Perl Modules
- Game Data
- Empty Directories
- Strip Binaries
- Split Debugging Information
- Libtool Libraries
- RESTRICT
- Chapter 12
- Chapter 13
- Chapter 14
- Cygclasses
- aspell-dict.cygclass
- ASPELL_COMPAT
- ASPELL_DATADIR
- ASPELL_DICTDIR
- ASPELL_LANG
- ASPELL_LANG_FULL
- CATEGORY (aspell-dict)
- SUMMARY (aspell-dict)
- DESCRIPTION (aspell-dict)
- HOMEPAGE (aspell-dict)
- SRC_URI (aspell-dict)
- aspell_dict_compile
- doaspelldict
- doaspelldata
- src_compile (aspell-dict)
- autotools.cygclass
- gnuconfigize
- cygautoreconf
- WANT_AUTOCONF
- WANT_AUTOMAKE
- NO_ACLOCAL
- NO_LIBTOOLIZE
- NO_AUTOCONF
- NO_AUTOHEADER
- NO_AUTOMAKE
- NO_AUTOPOINT
- ACLOCAL_FLAGS
- cygconf
- src_compile (autotools)
- bzr.cygclass
- clang.cygclass
- cmake.cygclass
- cross.cygclass
- CROSS_HOST
- CROSS_SYSROOT
- CROSS_PREFIX
- CROSS_BINDIR
- CROSS_INCLUDEDIR
- CROSS_LIBDIR
- CROSS_DATADIR
- doelflib
- cross_sysrootize
- cross_desysrootize
- cvs.cygclass
- docbook.cygclass
- CATEGORY (docbook)
- SUMMARY (docbook)
- DESCRIPTION (docbook)
- HOMEPAGE (docbook)
- SRC_URI (docbook)
- docbook_install
- docbook_dsssl_postinst
- docbook_sgml_postinst
- docbook_xml_postinst
- src_compile (docbook)
- src_install (docbook)
- emacs.cygclass
- font.cygclass
- fossil.cygclass
- fox.cygclass
- git.cygclass
- gnome.org.cygclass
- gnome2.cygclass
- gst-plugins.cygclass
- GST_PLUGINS_ENABLE
- GST_PLUGINS_DISABLE
- SUMMARY (gst-plugins)
- gst_plugins_autoreconf
- gst_plugins_compile
- gst_plugins_install
- src_compile (gst-plugins)
- src_install (gst-plugins)
- gstreamer.cygclass
- gtk2-perl.cygclass
- CATEGORY (gtk2-perl)
- SUMMARY (gtk2-perl)
- HOMEPAGE (gtk2-perl)
- SRC_URI (gtk2-perl)
- DEPS_PATH (gtk2-perl)
- gtkmm.cygclass
- CATEGORY (gtkmm)
- SUMMARY (gtkmm)
- HOMEPAGE (gtkmm)
- gtkmm_autoreconf
- gtkmm_compile
- gtkmm_test
- src_compile (gtkmm)
- src_test (gtkmm)
- hg.cygclass
- httpd.cygclass
- CATEGORY (httpd)
- SUMMARY (httpd)
- HTTPD_APXS
- HTTPD
- HTTPD_VERSION
- HTTPD_INCLUDEDIR
- HTTPD_LIBEXECDIR
- HTTPD_SYSCONFDIR
- HTTPD_SYSCONFMODULESDIR
- HTTPD_CFLAGS
- HTTPD_LIBS
- APR_VERSION
- APR_CONFIG
- APU_CONFIG
- APR_CFLAGS
- APR_LIBS
- APR_LIBTOOL
- APREQ2_CONFIG
- APREQ2_CFLAGS
- APREQ2_LIBS
- httpd_mod_compile
- httpd_apxs_compile
- dohttpdconf
- dohttpdmod
- httpd_loadmodules
- kde.org.cygclass
- kde3.cygclass
- PATCH_URI (kde3)
- CXXFLAGS (kde3)
- kde3_autoreconf
- kde3_compile
- kde3_install
- KEEP_LA_FILES (kde3)
- src_compile (kde3)
- src_install (kde3)
- kde4.cygclass
- kf5.cygclass
- lua.cygclass
- LUA
- LUAC
- LUA_VERSION
- LUA_INCLUDEDIR
- LUA_LIBDIR
- LUA_SCRIPTDIR
- LUA_CFLAGS
- LUA_LIBS
- luainto
- dolua
- lua_fix_shebang
- mate.cygclass
- HOMEPAGE (mate)
- SRC_URI (mate)
- GIT_URI (mate)
- mate_autoreconf
- MATE_NO_AUTOGEN
- mate_configure
- mate_compile
- src_compile (mate)
- meson.cygclass
- cygmeson
- meson_compile
- meson_test
- meson_install
- src_compile (meson)
- src_test (meson)
- src_install (meson)
- mtn.cygclass
- multilib.cygclass
- ninja.cygclass
- ocaml-dune.cygclass
- OCAML_DUNE_BUILD_ARGS
- ocaml_dune_compile
- ocaml_dune_install
- ocaml_dune_test
- src_compile (ocaml-dune)
- src_install (ocaml-dune)
- src_test (ocaml-dune)
- ocaml.cygclass
- OCAML
- OCAMLC
- OCAMLDOC
- OCAMLFIND
- OCAMLLEX
- OCAMLMKLIB
- OCAMLMKTOP
- OCAMLOPT
- OCAML_LIBDIR
- OCAML_INCLUDEDIR
- OCAML_SITEDIR
- OCAML_STUBDIR
- LIBCAMLRUN
- ocaml_install
- src_install (ocaml)
- octave.cygclass
- OCTAVE
- MKOCTFILE
- OCTAVE_CONFIG
- OCTAVE_VERSION
- OCTAVE_INCLUDEDIR
- OCTAVE_LIBDIR
- OCTAVE_CFLAGS
- OCTAVE_LIBS
- OCTAVE_M_DIR
- OCTAVE_OCTDIR
- OCTAVE_M_SITEDIR
- OCTAVE_OCT_SITEDIR
- perl.cygclass
- PERL
- PERL_VERSION
- PERL_LIB
- PERL_ARCHLIB
- PERL_VENDORLIB
- PERL_VENDORARCH
- LIBPERL
- CPAN_AUTHOR
- CPAN_SUBDIR
- CPAN_VERSION
- CATEGORY (perl)
- SUMMARY (perl)
- HOMEPAGE (perl)
- SRC_URI (perl)
- perl_compile
- perl_test
- perl_install
- perl_fix_shebang
- perl_sax_parser_register
- src_compile (perl)
- src_test (perl)
- src_install (perl)
- php.cygclass
- PHP
- PHP_CONFIG
- PHPIZE
- PEAR
- PECL
- PHP_VERSION
- PHP_INI_DIR
- PHP_EXTENSION_DIR
- PHP_PEAR_PHP_DIR
- PHP_PEAR_METADATA_DIR
- LIBPHP
- PHP_CHANNEL
- CATEGORY (php)
- SUMMARY (php)
- HOMEPAGE (php)
- SRC_URI (php)
- php_autoreconf
- php_compile
- php_install
- php_postinst
- php_fix_shebang
- src_compile (php)
- src_install (php)
- pygtk.cygclass
- PYGTK_INCLUDEDIR
- PYGTK_LIBDIR
- PYGTK_DATADIR
- PYGTK_CODEGEN
- CATEGORY (pygtk)
- SUMMARY (pygtk)
- HOMEPAGE (pygtk)
- pygtk_compile
- src_compile (pygtk)
- python-wheel.cygclass
- PYTHON_WHEEL_VERSIONS
- PKG_NAMES (python-wheel)
- python_wheel_compile
- python_wheel_install
- dowheel
- src_compile (python-wheel)
- src_install (python-wheel)
- python.org.cygclass
- python2-distutils.cygclass
- python2_distutils_compile
- python2_distutils_install
- src_compile (python2-distutils)
- src_install (python2-distutils)
- python2-wheel.cygclass
- python2.cygclass
- PYTHON2
- PYTHON2_VERSION
- PYTHON2_INCLUDEDIR
- PYTHON2_LIB
- PYTHON2_SITELIB
- LIBPYTHON2
- python2into
- dopython2
- python2_optimize
- python2_fix_shebang
- python3-distutils.cygclass
- python3_distutils_compile
- python3_distutils_install
- src_compile (python3-distutils)
- src_install (python3-distutils)
- python3-wheel.cygclass
- python3.cygclass
- PYTHON3
- PYTHON3_CONFIG
- PYTHON3_VERSION
- PYTHON3_PKGVERSION
- PYTHON3_ABIFLAGS
- PYTHON3_INCLUDEDIR
- PYTHON3_LIB
- PYTHON3_SITELIB
- LIBPYTHON3
- python3into
- dopython3
- python3_optimize
- python3_fix_shebang
- qt3-qmake.cygclass
- qt3.cygclass
- QTDIR
- QT3_BINDIR
- QT3_INCLUDEDIR
- QT3_LIBDIR
- QT3_PLUGINSDIR
- QT3_DATADIR
- QT3_QMAKE
- QT3_MOC
- QT3_UIC
- doqt3inc
- doqt3lib
- qt3pluginto
- doqt3plugin
- qt4-cmake.cygclass
- qt4-qmake.cygclass
- qt4.cygclass
- QT4_QTDIR
- QT4_BINDIR
- QT4_INCLUDEDIR
- QT4_LIBDIR
- QT4_PLUGINSDIR
- QT4_IMPORTSDIR
- QT4_DATADIR
- QT4_MKSPECSDIR
- QT4_QMAKE
- QT4_MOC
- QT4_RCC
- QT4_UIC
- QT4_UIC3
- QT4_LRELEASE
- doqt4inc
- doqt4lib
- qt4pluginto
- doqt4plugin
- qt5-qmake.cygclass
- qt5.cygclass
- QT5_QTDIR
- QT5_BINDIR
- QT5_INCLUDEDIR
- QT5_LIBDIR
- QT5_PLUGINSDIR
- QT5_IMPORTSDIR
- QT5_QMLDIR
- QT5_DATADIR
- QT5_MKSPECSDIR
- QT5_QMAKE
- QT5_MOC
- QT5_RCC
- QT5_UIC
- QT5_LRELEASE
- doqt5inc
- qt5pluginto
- doqt5plugin
- R.cygclass
- R
- R_CFLAGS
- R_LIBS
- R_HOME
- R_INCLUDEDIR
- R_SITELIB
- CATEGORY (R)
- SUMMARY (R)
- HOMEPAGE (R)
- SRC_URI (R)
- R_CONFIGURE_ARGS
- R_compile
- R_install
- src_compile (R)
- src_install (R)
- ruby.cygclass
- RUBY
- RUBY_VERSION
- RUBY_LIB
- RUBY_ARCH
- RUBY_HEADERDIR
- RUBY_VENDORLIB
- RUBY_VENDORARCH
- RI_SITEDIR
- LIBRUBY
- CATEGORY (ruby)
- SUMMARY (ruby)
- ruby_compile
- ruby_ext_compile
- ruby_install
- rubyinto
- doruby
- ruby_fix_shebang
- src_compile (ruby)
- src_install (ruby)
- rubygem.cygclass
- RUBYGEM_NAME
- CATEGORY (rubygem)
- SUMMARY (rubygem)
- HOMEPAGE (rubygem)
- SRC_URI (rubygem)
- RUBYGEM_DIR
- RUBYGEM_INSTDIR
- RUBYGEM_SPEC
- RUBYGEM_DOCDIR
- RUBYGEM_EXTDIR
- rubygem_compile
- rubygem_install
- RUBYGEM_CONFIGURE_ARGS
- src_compile (rubygem)
- src_install (rubygem)
- svn.cygclass
- tcl.cygclass
- texlive.cygclass
- TEXLIVE_TEXMF_PKGS
- TEXLIVE_ARCH_PKGS
- TEXLIVE_DOC_PKGS
- TEXLIVE_PRETEST
- CATEGORY (texlive)
- SUMMARY (texlive)
- DESCRIPTION (texlive)
- HOMEPAGE (texlive)
- SRC_URI (texlive)
- texlive_install
- src_compile (texlive)
- src_install (texlive)
- toolchain.cygclass
- TOOLCHAIN_TARGET
- TOOLCHAIN_SYSROOT
- TOOLCHAIN_PREFIX
- TOOLCHAIN_BINDIR
- TOOLCHAIN_INCLUDEDIR
- TOOLCHAIN_LIBDIR
- TOOLCHAIN_DATADIR
- toolchain_compile
- src_compile (toolchain)
- utils.cygclass
- vim.cygclass
- waf.cygclass
- wxwidgets.cygclass
- xfce4.cygclass
- xorg.cygclass
- CATEGORY (xorg)
- SUMMARY (xorg)
- HOMEPAGE (xorg)
- LICENSE (xorg)
- XORG_SRC_COMPRESSION
- SRC_URI (xorg)
- GIT_URI (xorg)
- xvfb.cygclass
Title
OVERVIEW
The Cygport Reference Manual documents cygport, a utility for creating and building software packages for the Cygwin platform.
Copyright © 2006-2024 Cygport authors
Permission is granted to copy, distribute and/or modify this manual under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You should have received a copy of the GNU Free Documentation License along with this manual. If not, see https://www.gnu.org/licenses/.
Introduction
OVERVIEW
cygport is a utility for creating and building software packages for the software platform. It is designed to minimize the amount of code and effort for individual packages, automating common processes while leaving flexibility to deal with unusual packages while avoiding many mistakes or omissions.
cygport packages are controlled by .cygport files, which define variables and functions unique to that package and version. cygport provides a modular API, documented here, which covers a wide variety of packaging scenarios.
The syntax of .cygport files resemble that of Gentoo Portage, but they are not compatible. Furthermore, unlike Portage, cygport is not a package manager; it only creates packages which can then be used in a Cygwin package repository and installed with Cygwin's setup.exe package manager.
This manual is divided into the following chapters:
Chapter 1
CHAPTER
Chapter 2
CHAPTER
Chapter 3
CHAPTER
Chapter 4
CHAPTER
Chapter 5
CHAPTER
Chapter 6
CHAPTER
Chapter 7
CHAPTER
Chapter 8
CHAPTER
Chapter 9
CHAPTER
Chapter 10
CHAPTER
Chapter 11
CHAPTER
Chapter 12
CHAPTER
Chapter 13
CHAPTER
Chapter 14
CHAPTER
Usage
[ Top ] [ Chapter 1 ] [ Concepts ]
USAGE
See the manpage for sub-commands and command line options.
REQUIRES
The following packages are required to build packages with cygport:
autoconf, automake, bash, binutils, bzip2, coreutils, diffstat, diffutils, dos2unix, file, gawk, grep, gzip, lftp, libtool, lndir, make, openssh, patch, rsync, sed, tar, unzip, util-linux, wget, which, xz.
Other software packages are required by some Cygclasses, as indicated within.