wok view libatasmart/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 | eba6e70162a2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libatasmart"
4 VERSION="0.19"
5 CATEGORY="system-tools"
6 SHORT_DESC="A disk reporting library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://0pointer.de/blog/projects/being-smart.html"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://0pointer.de/public/$TARBALL"
14 DEPENDS="udev"
15 BUILD_DEPENDS="udev-dev"
17 current_version()
18 {
19 wget -O - http://git.0pointer.net/$PACKAGE.git/ 2>/dev/null | \
20 sed '/tag.?h=v/!d;s|.*tag.?h=v||;s|.>.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/sbin $fs/usr
40 }