wok-6.x annotate libgphoto2-dev/receipt @ rev 16024

spk: add to cross arch's
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 06 23:00:20 2014 +0100 (2014-03-06)
parents 8f447cf2eee5
children 8897c7156a03
rev   line source
jozee@3041 1 # SliTaz package receipt.
jozee@3041 2
jozee@3041 3 PACKAGE="libgphoto2-dev"
slaxemulator@9847 4 VERSION="2.4.11"
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 }