wok view libgphoto2-dev/receipt @ rev 13877

asterisk: use $ARCH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 15 11:06:23 2013 +0100 (2013-01-15)
parents 1c07269ece96
children 8f447cf2eee5
line source
1 # SliTaz package receipt.
3 PACKAGE="libgphoto2-dev"
4 VERSION="2.4.11"
5 CATEGORY="development"
6 SHORT_DESC="libgphoto2 devel files"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libgphoto2 libexif-dev libusb-dev"
9 WANTED="libgphoto2"
10 WEB_SITE="http://www.gphoto.org"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib
16 cp -a $_pkg/usr/include $fs/usr
17 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
18 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
19 cp -a $_pkg/usr/lib/libgphoto2_port $fs/usr/lib/
21 # rm *.so files
22 find $fs/usr/lib -name "*.so*" -exec rm -f {} \; 2> /dev/null
23 }