wok-current annotate libgphoto2-dev/receipt @ rev 13359

Add opus
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 12 10:35:23 2012 +0200 (2012-09-12)
parents 1c07269ece96
children 8f447cf2eee5
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"
erjo@10679 8 DEPENDS="libgphoto2 libexif-dev libusb-dev"
jozee@3041 9 WANTED="libgphoto2"
jozee@3041 10 WEB_SITE="http://www.gphoto.org"
jozee@3041 11
jozee@3041 12 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3041 13 genpkg_rules()
jozee@3041 14 {
jozee@3041 15 mkdir -p $fs/usr/lib
jozee@3041 16 cp -a $_pkg/usr/include $fs/usr
jozee@3041 17 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
jozee@3041 18 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
erjo@10679 19 cp -a $_pkg/usr/lib/libgphoto2_port $fs/usr/lib/
erjo@10679 20
erjo@10679 21 # rm *.so files
erjo@10679 22 find $fs/usr/lib -name "*.so*" -exec rm -f {} \; 2> /dev/null
jozee@3041 23 }