wok-next annotate libraw1394/receipt @ rev 18290
Up: tazpkg(834)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 14 16:57:11 2015 +0300 (2015-08-14) |
parents | f4a357d51a50 |
children | fb478984fbc8 |
rev | line source |
---|---|
pankso@295 | 1 # SliTaz package receipt. |
pankso@295 | 2 |
pankso@295 | 3 PACKAGE="libraw1394" |
slaxemulator@9255 | 4 VERSION="2.0.7" |
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" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
pankso@295 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@295 | 10 WEB_SITE="http://www.linux1394.org/" |
pascal@5853 | 11 WGET_URL="http://www.kernel.org/pub/linux/libs/ieee1394/$TARBALL" |
pankso@295 | 12 |
pankso@295 | 13 # Rules to configure and make the package. |
pankso@295 | 14 compile_rules() |
pankso@295 | 15 { |
pankso@295 | 16 cd $src |
pankso@295 | 17 ./configure \ |
pankso@295 | 18 --prefix=/usr \ |
pankso@295 | 19 --mandir=/usr/share/man \ |
pascal@5853 | 20 $CONFIGURE_ARGS && |
pascal@5853 | 21 make && |
pascal@15482 | 22 make DESTDIR=$DESTDIR install |
pankso@295 | 23 } |
pankso@295 | 24 |
pankso@295 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@295 | 26 genpkg_rules() |
pankso@295 | 27 { |
pankso@295 | 28 mkdir -p $fs/usr/lib $fs/dev |
pascal@15482 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15482 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@295 | 31 # Dev node |
pankso@311 | 32 mknod -m 0666 $fs/dev/raw1394 c 171 0 |
pankso@295 | 33 chown root.root $fs/dev/raw1394 |
pankso@295 | 34 } |
pankso@295 | 35 |