wok view libiec61883/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 56e6b4e63668 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libiec61883"
4 VERSION="1.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="libiec61883 is a standard defining a high speed serial bus."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20221002233314/https://ieee1394.wiki.kernel.org/index.php/Main_Page"
11 WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
13 DEPENDS="libraw1394"
14 BUILD_DEPENDS="libraw1394 libraw1394-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/dev
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }