wok-next annotate libraw1394/receipt @ rev 21382
updated nbd (3.3 -> 3.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 17:27:00 2020 +0100 (2020-04-16) |
parents | 5841522533ec |
children |
rev | line source |
---|---|
al@19829 | 1 # SliTaz package receipt v2. |
pankso@295 | 2 |
pankso@295 | 3 PACKAGE="libraw1394" |
al@19829 | 4 VERSION="2.1.2" |
pankso@295 | 5 CATEGORY="system-tools" |
al@19829 | 6 SHORT_DESC="IEEE 1394 is a standard defining a high speed serial bus" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
al@19829 | 9 WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page" |
al@19829 | 10 |
al@19829 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19829 | 12 WGET_URL="https://www.kernel.org/pub/linux/libs/ieee1394/$TARBALL" |
al@19829 | 13 |
al@21020 | 14 SPLIT="$PACKAGE-dev" |
pankso@295 | 15 |
al@20595 | 16 compile_rules() { |
al@20595 | 17 ./configure $CONFIGURE_ARGS && |
al@20595 | 18 fix libtool && |
al@20595 | 19 make && |
al@20595 | 20 make install |
pankso@295 | 21 } |
pankso@295 | 22 |
al@20595 | 23 genpkg_rules() { |
al@19829 | 24 case $PACKAGE in |
al@19829 | 25 libraw1394) copy @std;; |
al@19829 | 26 *-dev) copy @dev;; |
al@19829 | 27 esac |
pankso@295 | 28 } |
pankso@295 | 29 |
al@19829 | 30 # Make device node |
al@19829 | 31 post_install_libraw1394() { |
al@19829 | 32 mkdir -p $1/dev |
al@19829 | 33 mknod -m 0666 $1/dev/raw1394 c 171 0 |
al@19829 | 34 chown root:root $1/dev/raw1394 |
al@19829 | 35 } |