wok-stable view libgphoto2-dev/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents 1c07269ece96
children
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 }