wok view libraw1394/receipt @ rev 12088
busybox: su should not chdir (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:31:50 2012 +0100 (2012-03-10) |
parents | e7ec60bb695f |
children | 8d6f480bf664 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libraw1394"
4 VERSION="2.0.7"
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.kernel.org/pub/linux/libs/ieee1394/$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 }