wok-current annotate libraw1394/receipt @ rev 1977
adduser/addgroup depends on slitaz-base-files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 03 22:15:10 2009 +0000 (2009-01-03) |
parents | 7500356beb11 |
children | e7ec60bb695f |
rev | line source |
---|---|
pankso@295 | 1 # SliTaz package receipt. |
pankso@295 | 2 |
pankso@295 | 3 PACKAGE="libraw1394" |
pankso@295 | 4 VERSION="1.3.0" |
pankso@295 | 5 CATEGORY="system-tools" |
pankso@295 | 6 SHORT_DESC="IEEE 1394 is a standard defining a high speed serial bus." |
pankso@295 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@295 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@295 | 9 WEB_SITE="http://www.linux1394.org/" |
pankso@295 | 10 WGET_URL="http://www.linux1394.org/dl/$TARBALL" |
pankso@295 | 11 |
pankso@295 | 12 # Rules to configure and make the package. |
pankso@295 | 13 compile_rules() |
pankso@295 | 14 { |
pankso@295 | 15 cd $src |
pankso@295 | 16 ./configure \ |
pankso@295 | 17 --prefix=/usr \ |
pankso@295 | 18 --mandir=/usr/share/man \ |
pankso@295 | 19 $CONFIGURE_ARGS |
pankso@295 | 20 make |
pankso@295 | 21 make DESTDIR=$PWD/_pkg install |
pankso@295 | 22 } |
pankso@295 | 23 |
pankso@295 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@295 | 25 genpkg_rules() |
pankso@295 | 26 { |
pankso@295 | 27 mkdir -p $fs/usr/lib $fs/dev |
pankso@295 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@295 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@295 | 30 # Dev node |
pankso@311 | 31 mknod -m 0666 $fs/dev/raw1394 c 171 0 |
pankso@295 | 32 chown root.root $fs/dev/raw1394 |
pankso@295 | 33 } |
pankso@295 | 34 |