From 8e99dc687008427895c8110a0dad1231e98c3fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gon=C3=A7alves?= Date: Fri, 6 Jan 2017 17:47:14 +0000 Subject: [PATCH] raspicam: add new URL for package. Some cleanup in rule. --- rules/raspicam/default.bash | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/rules/raspicam/default.bash b/rules/raspicam/default.bash index 35ba155..5b1d493 100644 --- a/rules/raspicam/default.bash +++ b/rules/raspicam/default.bash @@ -5,12 +5,12 @@ version=\ url=\ ( - "https://github.com/raspberrypi/userland/archive/master.zip" + "http://lsts.pt/glued/raspicam-$version.zip" ) md5=\ ( - "3f16bcda3928216fea779588e9e74944" + "169e62fd17d41455a42711a2f9c54fd1" ) maintainer=\ @@ -22,8 +22,6 @@ configure() { LINKER_ADDED_FLAGS="-Wl,-rpath,${cfg_dir_rootfs}/usr/lib" - mkdir -p ../build - cd ../userland-master ${cfg_dir_toolchain}/usr/local/bin/cmake \ -DCMAKE_SYSTEM_NAME="Linux" \ -DCMAKE_SYSTEM_VERSION="1" \ @@ -38,20 +36,19 @@ configure() build() { - cd ../userland-master $cmd_make VERBOSE=1 } host_install() { - cd ../userland-master/build/ + cd build/ $cmd_cp -r "lib/"* "$cfg_dir_toolchain_sysroot/usr/lib/" $cmd_cp -r "inc/"* "$cfg_dir_toolchain_sysroot/usr/include/" } target_install() { - cd ../userland-master/build/ + cd build/ $cmd_cp -r "lib/"* "$cfg_dir_rootfs/usr/lib/" $cmd_cp -r "bin/"* "$cfg_dir_rootfs/usr/bin/" }