wok view libgphoto2-dev/receipt @ rev 19538

linld: add 'linld <kernel> <cmdline>' syntax
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 12:37:59 2016 +0100 (2016-12-02)
parents 8f447cf2eee5
children 8897c7156a03
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 LICENSE="LGPL2.1"
9 WANTED="libgphoto2"
10 WEB_SITE="http://www.gphoto.org"
12 DEPENDS="libgphoto2 libexif-dev libusb-dev pkg-config"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib
18 cp -a $install/usr/include $fs/usr
19 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
20 cp -a $install/usr/lib/*.*a $fs/usr/lib/
21 cp -a $install/usr/lib/libgphoto2_port $fs/usr/lib/
23 # rm *.so files
24 find $fs/usr/lib -name "*.so*" -exec rm -f {} \; 2> /dev/null
25 }