per request of SFE, adding source code for wiringPi to /usr/share/wiringpi/examples/source_code

This commit is contained in:
Mike Brown 2012-07-26 17:04:06 -04:00
parent 66547eac5e
commit f2c5853aa2

View file

@ -48,4 +48,14 @@ package(){
install -Dm750 "${srcdir}/wiringPi/examples/lcd" "${pkgdir}/usr/share/wiringpi/examples/lcd"
install -Dm750 "${srcdir}/wiringPi/examples/wfi" "${pkgdir}/usr/share/wiringpi/examples/wfi"
install -Dm750 "${srcdir}/wiringPi/examples/piface" "${pkgdir}/usr/share/wiringpi/examples/piface"
install -m 0755 -d "${pkgdir}/usr/share/wiringpi/examples/source_code"
install -Dm644 "${srcdir}/wiringPi/examples/test1.c" "${pkgdir}/usr/share/wiringpi/examples/source_code/test1.c"
install -Dm644 "${srcdir}/wiringPi/examples/test2.c" "${pkgdir}/usr/share/wiringpi/examples/source_code/test2.c"
install -Dm644 "${srcdir}/wiringPi/examples/speed.c" "${pkgdir}/usr/share/wiringpi/examples/source_code/speed.c"
install -Dm644 "${srcdir}/wiringPi/examples/lcd.c" "${pkgdir}/usr/share/wiringpi/examples/source_code/lcd.c"
install -Dm644 "${srcdir}/wiringPi/examples/wfi.c" "${pkgdir}/usr/share/wiringpi/examples/source_code/wfi.c"
install -Dm644 "${srcdir}/wiringPi/examples/piface.c" "${pkgdir}/usr/share/wiringpi/examples/source_code/piface.c"
install -Dm644 "${srcdir}/wiringPi/examples/Makefile" "${pkgdir}/usr/share/wiringpi/examples/source_code/Makefile"
install -Dm644 "${srcdir}/wiringPi/examples/COPYING.LESSER" "${pkgdir}/usr/share/wiringpi/examples/source_code/COPYING.LESSER"
install -Dm644 "${srcdir}/wiringPi.tgz" "${pkgdir}/usr/share/wiringpi/examples/source_code/wiringPi.tgz"
}