Commit 3b763a72 authored by Kawin Nikomborirak's avatar Kawin Nikomborirak

add credits

parent d9b9c042
......@@ -3,5 +3,5 @@ DIST teensyduino-1.37-linux32.tar.xz 152659848 SHA256 d24dbbbfbb3a45211238ae4b07
DIST teensyduino-1.37-linux64.tar.xz 151846820 SHA256 c271cf288c7ba8734e3b8afe755d9d4ed3d0f9c890bfde526a056b1351129aa3 SHA512 082bbb1282f895a893cbe8218149bd2ed380f171650dd8587fb6cd2f409823bba51ae4d31a155725a6053a5b8c4f7988171d14e695aa02dcf718a176adb75d04 WHIRLPOOL ee1988c559244e4274dfa350270cb4800c3cec80c5f0c36c21490ff4652b76c41487c0a9282da3a6005ad6c1766d1b652cb1e070efbaf87b54114188a873b84a
DIST teensyduino-1.38_beta3-linux32.tar.xz 154359528 SHA256 78649b567416e23dc90c86168c7a86e07111c0d817f12e0bdbbef77c24fb7772 SHA512 b3abe9d0259bc266512b5d62fe24afea0b8736f94b150f7db94675bf37c3b0a5d7eb11af9075ec4b303d360c19cc1448c2bdfc9e5070450bdfff4ceedd756a05 WHIRLPOOL 11cc651afa47b4a95ca54587a2ab247c6d5f7507499ea8ccf674c997e540e79b56d99292e1c3ecd41b2bbedbeb298d82053e153a925113a2df538cbe3ec1bac4
DIST teensyduino-1.38_beta3-linux64.tar.xz 153450428 SHA256 16ffd9ac3f3b5705f466d63e7d9c7c107de0d7aa6fb10cd8c763cc962ef5586c SHA512 1d57d8dc17b74aa71d9362cc58ea4bddbafdbe2e67162cdcff9eefb756cf7db6a66212f0f24eec2e5f5fba86943817fab7608a6afcbb4d090689c0ed5a86b3d4 WHIRLPOOL f749ab0386e9a8004a98c28ccc11a8c40df5f2badfcffaffba1cb888240ca948819ecd5ef72817bce66ffde696b6e58286beace332d59126185e86b1b5b910c3
EBUILD teensyduino-bin-1.37.ebuild 1509 SHA256 34f7c679ad45953f3889798bbb782168c91678618414a017b23bd5a0a9e747e5 SHA512 bf4428d84ba48177eb45c14509ea312b28100dae94773a706e391b241ad134bfa809741787a0bd58f2690bc524f73319f0e15a0111c5c9325fa138c299b4fe5e WHIRLPOOL 4ce19dfd8d7cdc487b2a41745709144dfd9a8a1b373c5a46326ebffb90d4f8ad87afd09ef3d80ac6014ccfa71dee8d2fe477033d39596b2cc9e919cb7f5f79d9
EBUILD teensyduino-bin-1.38_beta3.ebuild 1454 SHA256 cb39b92397f22194b4611b29d35c2bf085c1c4e69b2865425a83e59fdb921859 SHA512 b2af94c37e6cd803a83cba48384d71fda1be1c84728f0c4e22c0a4980853dcda4bc72ee53154708b71cb750b83833a55025242b8aa010711d0afa6b9b018ec6a WHIRLPOOL 13ec1f4e90e0e0723a6a06b64bb4db47028eda4e0ca7011a0736db545d84099d878832efc1b1d944df3365cf23a44862ae34cd8355f8a21eaaa46f30307c5ef6
EBUILD teensyduino-bin-1.37.ebuild 1553 SHA256 78f5402deef520fbbb786fb6eb56a7adc43c6707a77ea2074887c563f915e405 SHA512 d2277c53f4e6873e715865e734292bf2e5c74b24a9ec1d2dd4fa0c7b344e532da9ecf8be5a116499112aee749405cef72a7afb5f51cc3566f7584541cb24641b WHIRLPOOL de062a5faa9926595d13857430e9d4b14c124d867616e26833cb38678027d535cc61d9d9d2085ee1481ccfa2643fe5674aa50ef9e7062b6716f50dce8ae106a2
EBUILD teensyduino-bin-1.38_beta3.ebuild 1539 SHA256 86b3cac44d0cd21d6d53d48eda9fbb3b0218f9a4867f376ddd4481c9b273df42 SHA512 49b35e446d1f5344ff9671224418f0f63615ad6113ea92c521bd42e2dd5000030735172e069b00aeb789ca7bf46dd113e6436869b50fcc6b38dd0c9b6c742b0f WHIRLPOOL ea7512921d18703f7964618809856da2ad2f0f6405779897bd3a13df2e05914b3b3a1ef2035686d10cb177572767b70030caeae37a1aec55750073d1dc0019ec
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Credit to fkmclane for writing the ebuild
EAPI=6
......
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Credit to fkmclane for writing the ebuild
EAPI=6
......@@ -34,31 +35,31 @@ S="${WORKDIR}/${MY_P}"
RESTRICT="binchecks preserve-libs strip"
src_unpack() {
if use amd64; then
unpack "${MY_P}"-linux64.tar.xz
else
unpack "${MY_P}"-linux32.tar.xz
fi
if use amd64; then
unpack "${MY_P}"-linux64.tar.xz
else
unpack "${MY_P}"-linux32.tar.xz
fi
cp "${FILESDIR}"/49-teensy.rules "${WORKDIR}" || die
cp "${FILESDIR}"/49-teensy.rules "${WORKDIR}" || die
}
src_install() {
newicon lib/arduino.png "${MY_PN}".png
make_desktop_entry "${MY_PN}" Teensyduino "${MY_PN}"
newicon lib/arduino.png "${MY_PN}".png
make_desktop_entry "${MY_PN}" Teensyduino "${MY_PN}"
mkdir -p "${D}"/opt/"${PN}" || die
cp -a * "${D}"/opt/"${PN}" || die
mkdir -p "${D}"/opt/"${PN}" || die
cp -a * "${D}"/opt/"${PN}" || die
make_wrapper ${MY_PN} "${EROOT}opt/${PN}/${ARDUINO_PN}" "${EROOT}opt/${PN}"
make_wrapper ${MY_PN} "${EROOT}opt/${PN}/${ARDUINO_PN}" "${EROOT}opt/${PN}"
udev_dorules "${WORKDIR}"/49-teensy.rules
udev_dorules "${WORKDIR}"/49-teensy.rules
}
pkg_postinst() {
udev_reload
udev_reload
elog "Initial setup for your Teensy requires you to plug in the board,"
elog "verify a sketch, then press the reset button on the board. After"
elog "that, you can use the upload button."
}
\ No newline at end of file
elog "Initial setup for your Teensy requires you to plug in the board,"
elog "verify a sketch, then press the reset button on the board. After"
elog "that, you can use the upload button."
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment