wok-6.x annotate libraw1394/receipt @ rev 22677
linld: fix pipehole.awk
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 11:53:11 2020 +0100 (2020-01-18) |
parents | 8685ee90f6aa |
children | 71360a13cd94 |
rev | line source |
---|---|
pankso@295 | 1 # SliTaz package receipt. |
pankso@295 | 2 |
pankso@295 | 3 PACKAGE="libraw1394" |
Hans-G?nter@21282 | 4 VERSION="2.1.2" |
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" |
Hans-G?nter@21282 | 9 WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page" |
Hans-G?nter@21282 | 10 |
pankso@295 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20421 | 12 WGET_URL="https://www.kernel.org/pub/linux/libs/ieee1394/$TARBALL" |
pankso@295 | 13 |
pankso@295 | 14 # Rules to configure and make the package. |
pankso@295 | 15 compile_rules() |
pankso@295 | 16 { |
Hans-G?nter@21282 | 17 ./configure \ |
Hans-G?nter@21282 | 18 --prefix=/usr \ |
Hans-G?nter@21282 | 19 --mandir=/usr/share/man \ |
pascal@5853 | 20 $CONFIGURE_ARGS && |
Hans-G?nter@21282 | 21 make -j 1 && |
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 { |
Hans-G?nter@21282 | 28 mkdir -p $fs/usr/lib |
Hans-G?nter@21282 | 29 mkdir -p $fs/dev |
Hans-G?nter@21282 | 30 |
Hans-G?nter@21282 | 31 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21282 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21282 | 33 # Device node |
pankso@311 | 34 mknod -m 0666 $fs/dev/raw1394 c 171 0 |
pankso@295 | 35 chown root.root $fs/dev/raw1394 |
pankso@295 | 36 } |