diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-26 15:57:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-26 15:57:31 +0100 |
commit | f6fd15e0418aea97c7ee77672468561cdac302e5 (patch) | |
tree | 6c13cdea083ccb5c111b15d7344bd8c0b4e61b73 /dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild | |
parent | f3471ff11210507b38c09f0e57df1bd601f629a5 (diff) |
gentoo auto-resync : 26:08:2023 - 15:57:31
Diffstat (limited to 'dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild')
-rw-r--r-- | dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild b/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild deleted file mode 100644 index b9a28eb7e8cd..000000000000 --- a/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit java-pkg-2 toolchain-funcs - -DESCRIPTION="Arduino helper library to list serial ports" -HOMEPAGE="https://github.com/arduino/listSerialPortsC" -SRC_URI="https://github.com/arduino/listSerialPortsC/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=">=dev-libs/libserialport-0.1.1" -DEPEND="${RDEPEND} - >=virtual/jdk-1.8" - -S="${WORKDIR}/listSerialPortsC-${PV}" - -src_compile() { - $(tc-getCC) -O2 -Wall ${CPPFLAGS} ${CFLAGS} -c -o main.o main.c || die - - $(tc-getCC) ${CFLAGS} ${LDFLAGS} main.o -lserialport -o listSerialC || die - - $(tc-getCC) \ - -O2 -Wall ${CPPFLAGS} ${CFLAGS} -fPIC \ - -I$(java-config-2 -o)/include \ - -I$(java-config-2 -o)/include/linux \ - -o jnilib.o -c jnilib.c || die - - $(tc-getCC) \ - ${CFLAGS} ${LDFLAGS} \ - -shared -Wl,-soname,liblistSerialsj.so \ - jnilib.o -lserialport -o liblistSerialsj.so.${PV} || die -} - -src_install() { - dobin listSerialC - dolib liblistSerialsj.so.${PV} - dosym liblistSerialsj.so.${PV} /usr/$(get_libdir)/liblistSerialsj.so -} |