wok annotate libgphoto2-dev/receipt @ rev 20556
gcc3: set host,build,target
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:05:39 2018 +0100 (2018-12-12) |
parents | 8ed62ecac0c7 |
children | 0f976ebfd6ad |
rev | line source |
---|---|
jozee@3041 | 1 # SliTaz package receipt. |
jozee@3041 | 2 |
jozee@3041 | 3 PACKAGE="libgphoto2-dev" |
pascal@19981 | 4 VERSION="2.5.14" |
jozee@3041 | 5 CATEGORY="development" |
jozee@3041 | 6 SHORT_DESC="libgphoto2 devel files" |
jozee@3041 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15473 | 8 LICENSE="LGPL2.1" |
jozee@3041 | 9 WANTED="libgphoto2" |
jozee@3041 | 10 WEB_SITE="http://www.gphoto.org" |
jozee@3041 | 11 |
pascal@15597 | 12 DEPENDS="libgphoto2 libexif-dev libusb-dev pkg-config" |
pascal@15473 | 13 |
jozee@3041 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3041 | 15 genpkg_rules() |
jozee@3041 | 16 { |
jozee@3041 | 17 mkdir -p $fs/usr/lib |
pascal@15473 | 18 cp -a $install/usr/include $fs/usr |
pascal@15473 | 19 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@15473 | 20 cp -a $install/usr/lib/*.*a $fs/usr/lib/ |
pascal@15473 | 21 cp -a $install/usr/lib/libgphoto2_port $fs/usr/lib/ |
erjo@10679 | 22 |
erjo@10679 | 23 # rm *.so files |
erjo@10679 | 24 find $fs/usr/lib -name "*.so*" -exec rm -f {} \; 2> /dev/null |
jozee@3041 | 25 } |