wok-next rev 10679
libgphoto2*: improve receipt. Fix deps, bdeps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 27 11:37:12 2011 +0200 (2011-05-27) |
parents | 548289ed8634 |
children | d4246c996c9d |
files | libgphoto2-dev/receipt libgphoto2/receipt |
line diff
1.1 --- a/libgphoto2-dev/receipt Fri May 27 11:34:47 2011 +0200 1.2 +++ b/libgphoto2-dev/receipt Fri May 27 11:37:12 2011 +0200 1.3 @@ -5,7 +5,7 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="libgphoto2 devel files" 1.6 MAINTAINER="jozee@slitaz.org" 1.7 -DEPENDS="libgphoto2" 1.8 +DEPENDS="libgphoto2 libexif-dev libusb-dev" 1.9 WANTED="libgphoto2" 1.10 WEB_SITE="http://www.gphoto.org" 1.11 1.12 @@ -16,4 +16,8 @@ 1.13 cp -a $_pkg/usr/include $fs/usr 1.14 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.15 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/ 1.16 + cp -a $_pkg/usr/lib/libgphoto2_port $fs/usr/lib/ 1.17 + 1.18 + # rm *.so files 1.19 + find $fs/usr/lib -name "*.so*" -exec rm -f {} \; 2> /dev/null 1.20 }
2.1 --- a/libgphoto2/receipt Fri May 27 11:34:47 2011 +0200 2.2 +++ b/libgphoto2/receipt Fri May 27 11:37:12 2011 +0200 2.3 @@ -37,8 +37,8 @@ 2.4 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 2.5 cp -a $_pkg/lib/udev $fs/lib 2.6 2.7 - # rm archive files 2.8 - rm -f $fs/usr/lib/libgphoto2/$VERSION/*.*a 2.9 + # rm all archive files 2.10 + find $fs/usr/lib -name "*.*a" -exec rm -f {} \; 2> /dev/null 2.11 2.12 # fix permissions 2.13 chmod +x $fs/lib/udev/check*