wok-current view libatasmart/receipt @ rev 25474

openjdk-6-src: use find from findutils in place of busybox find
author Hans-G?nter Theisgen
date Thu Oct 13 16:42:57 2022 +0100 (2022-10-13)
parents eba6e70162a2
children 5926178cd6fa
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 }