diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-25 13:30:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-25 13:30:01 +0100 |
commit | e564f1661521043bc9e03e613c3cd8c79d5d7713 (patch) | |
tree | 15a54c918d3a6a7de74cc56ce001856a561165ab /app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild | |
parent | e59b99df9503539c0231e655a17bccf83f8a270d (diff) |
gentoo auto-resync : 25:06:2023 - 13:30:01
Diffstat (limited to 'app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild')
-rw-r--r-- | app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild b/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild deleted file mode 100644 index 58f015a80713..000000000000 --- a/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Core of the automatic rebase facility during postinstall on Cygwin" -HOMEPAGE="https://cygwin.com" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -inherit autotools - -if [[ ${PV} == 9999 ]] -then - EGIT_REPO_URI="https://sourceware.org/git/cygwin-apps/rebase.git" - EGIT_REPO_URI="https://github.com/haubi/cygwin-rebase.git" - EGIT_BRANCH="gentoo" - inherit git-r3 -else - # Upstream does not provide archived source tarballs from git release tags, - # only non archived cygwin distro packages with embedded source tarballs. - # For now, we download from haubi's github mirror repo, having - # repo name "cygwin-rebase" and tag names like "rebase-4-4-4". - MY_PN=cygwin-rebase-rebase - MY_PV=${PV//./-} - S="${WORKDIR}/${MY_PN}-${MY_PV}" - SRC_URI=" - https://github.com/haubi/cygwin-rebase/archive/rebase-${MY_PV}.tar.gz -> ${P}.tar.gz - https://github.com/haubi/cygwin-rebase/compare/rebase-${MY_PV}...rebase-${MY_PV}_merge-files-flag-0.patch -> ${P}_merge-files-flag-0.patch - " - PATCHES=( "${DISTDIR}/${P}_merge-files-flag-0.patch" ) - KEYWORDS="" -fi - -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND="" - -src_prepare() { - default - # do not bother upstream with bug reports yet - sed -e "/AC_INIT/{s|rebase|${PN}|;s|cygwin@cygwin.com|https://bugs.gentoo.org/|}" \ - -i configure.ac || die - eautoreconf -} - -src_configure() { - econf --with-posix-shell="${BASH}" -} - -src_install() { - default - # do not work nor make so much sense in Gentoo Prefix - rm -f "${ED}"/usr/bin/{rebase,peflags}all || die -} - -pkg_preinst() { - local rebasedb - local baseaddr - case ${CHOST} in - i686-*-cygwin*) - rebasedb=/etc/rebase.db.i386 - baseaddr=0x70000000 - ;; - x86_64-*-cygwin*) - rebasedb=/etc/rebase.db.x86_64 - baseaddr=0x1000000000 - ;; - esac - [[ ${rebasedb} ]] || die "CHOST ${CHOST} is not supported for ${PN}." - - [[ -s ${EROOT}${rebasedb} ]] && return 0 - - einfo "Creating initial rebase database with default base address ${baseaddr}..." - cp /bin/cygwin1.dll "${T}/initial.dll" || die - "${ED}/usr/bin/rebase" --verbose "--base=${baseaddr}" --database "${T}/initial.dll" || die - eend $? -} |