wok view gphoto2/receipt @ rev 12085

fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:47:23 2012 -0500 (2012-03-09)
parents 548289ed8634
children d1c17bd2c2bc
line source
1 # SliTaz package receipt.
3 PACKAGE="gphoto2"
4 VERSION="2.4.11"
5 CATEGORY="graphics"
6 SHORT_DESC="digital camera download and access program"
7 MAINTAINER="jozee@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gphoto.org"
10 WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
11 TAGS="camera photo"
13 DEPENDS="libexif jpeg libgphoto2 readline popt libltdl ncurses"
14 BUILD_DEPENDS="jpeg-dev libgphoto2-dev readline readline-dev popt popt-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 }