wok-4.x view libraw1394/receipt @ rev 1112
iw: fake source tree before cd
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jul 19 21:06:23 2008 +0200 (2008-07-19) |
parents | 7500356beb11 |
children | e7ec60bb695f |
line source
1 # SliTaz package receipt.
3 PACKAGE="libraw1394"
4 VERSION="1.3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="IEEE 1394 is a standard defining a high speed serial bus."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.linux1394.org/"
10 WGET_URL="http://www.linux1394.org/dl/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/dev
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 # Dev node
31 mknod -m 0666 $fs/dev/raw1394 c 171 0
32 chown root.root $fs/dev/raw1394
33 }