Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 865820 Details for
Bug 900655
pp-emulation/opencbm-0.4.99.104 (New pacakge)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
opencbm-0.4.99.104.ebuild
opencbm-0.4.99.104.ebuild (text/plain), 3.28 KB, created by
Mario Fetka (geos_one)
on 2023-07-20 10:05:59 UTC
(
hide
)
Description:
opencbm-0.4.99.104.ebuild
Filename:
MIME Type:
Creator:
Mario Fetka (geos_one)
Created:
2023-07-20 10:05:59 UTC
Size:
3.28 KB
patch
obsolete
># Copyright 1999-2023 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI="8" > >inherit toolchain-funcs linux-mod-r1 udev > >if [[ ${PV} = 9999* ]]; then > inherit git-r3 > EGIT_REPO_URI="https://github.com/OpenCBM/OpenCBM.git" >else > SRC_URI="https://github.com/OpenCBM/OpenCBM/archive/v${PV//./_}.tar.gz -> opencbm-${PV}-source.tar.gz > https://github.com/OpenCBM/nibtools/archive/master.tar.gz -> nibtools-${PV}-source.tar.gz" > KEYWORDS="~amd64 ~ppc ~sparc ~x86" >fi > >SDIR="include libmisc arch/linux lib cbmctrl cbmformat d64copy cbmcopy libtrans cbmforng d82copy demo/flash demo/morse demo/rpm1541 sample/libtrans cbmrpm41" > >DESCRIPTION="OpenCBM is a tool to use serial devices as used by most Commodore (CBM) machines" >HOMEPAGE="https://opencbm.trikaliotis.net/" >LICENSE="GPL-2" >SLOT="0" >IUSE="doc" >DEPEND="virtual/linux-sources > dev-embedded/cc65 > app-text/linuxdoc-tools > app-text/docbook-xml-dtd:4.1.2 > virtual/libusb:0" >S="${WORKDIR}"/OpenCBM-${PV//./_} > >#BUILD_PARAMS="KDIR=$KERNEL_DIR" >#MODULE_NAMES="cbm(misc:${S}/opencbm/sys/linux:${S}/opencbm/sys/linux)" >#BUILD_TARGETS="all" > >src_prepare() { > rm -rf "${WORKDIR}"/${PN}-${PV}/{cbm4wingui,gui4cbm4win.vb6.old,windrv} > # 6502 sources ar always up to date > touch `find . -name '*.?65' -type f` > # add debian patches no demo & doc & no kernel > eapply "${FILESDIR}/001_opencbm-0.4.99.98-ncurses6-1.patch" > # sed correct path > sed -e 's,^PREFIX.*,PREFIX = /usr,' \ > -e 's,/man/man1,/share/man/man1,g' \ > -e 's,etc/udev/rules.d,lib/udev/rules.d,g' \ > -e 's,/info,/share/info,g' -i "${S}"/opencbm/LINUX/config.make > # sed correct udev path > sed -e 's,xa1541 opencbm/sys/linux/,xa1541,g' \ > -e 's,etc/udev/rules.d,lib/udev/rules.d,g' -i "${S}"/LINUX/Makefile > # copy module makefile that don't intefer with gentoo kernel build system > cp "${FILESDIR}"/Makefile "${S}"/opencbm/sys/linux/Makefile > # copy nibtools from upstream repo > cp -r "${WORKDIR}"/OpenCBM-nibtools-*/* "${S}"/opencbm/nibtools/ > eapply_user > exit 1 >} > >src_compile() { > # Buildsystem mostly broken so -j1 an split the build into the 2 parts. > emake -j1 -f LINUX/Makefile CC="$(tc-getCC)" AR="$(tc-getAR)" LIBDIR="/usr/$(get_libdir)" all || die "make fail" > emake -j1 -f LINUX/Makefile CC="$(tc-getCC)" AR="$(tc-getAR)" LIBDIR="/usr/$(get_libdir)" opencbm || die "make fail" > > local modlist=( cbm=misc:opencbm/sys/linux:opencbm/sys/linux:all ) > local modargs=( KDIR="${KV_OUT_DIR}" ) > linux-mod-r1_src_compile >} > >src_install() { > dodir lib/udev/rules.d > dodir etc/opencbm.conf.d > dodir usr/lib/opencbm > emake -f LINUX/Makefile DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-all > exeinto usr/lib/opencbm > doexe opencbm/LINUX/plugin_helper_tools > newexe debian/install_plugin.sh install_plugin > insinto lib/udev/rules.d > newins opencbm/sys/linux/45-opencbm-xa1541.rules 45-opencbm-xa1541.rules > rm -rf "${D}"/var > linux-mod-r1_src_install >} > >pkg_postinst() { > udev_reload > linux-mod-r1_pkg_postinst > "${EROOT}"/usr/lib/opencbm/install_plugin install xa1541 > "${EROOT}"/usr/lib/opencbm/install_plugin install xu1541 > "${EROOT}"/usr/lib/opencbm/install_plugin install xum1541 >} > >pkg_prerm() { > "${EROOT}"/usr/lib/opencbm/install_plugin uninstall xa1541 > "${EROOT}"/usr/lib/opencbm/install_plugin uninstall xu1541 > "${EROOT}"/usr/lib/opencbm/install_plugin uninstall xum1541 >} > >pkg_postrm() { > udev_reload >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 900655
:
857095
|
857097
|
857099
|
865820
|
865821