wok-current view libatasmart/receipt @ rev 25728
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:39:45 2024 +0000 (5 weeks ago) |
parents | 3e2a0347b2f1 |
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 HOST_ARCH="i486 x86_64"
19 current_version()
20 {
21 wget -O - http://git.0pointer.net/$PACKAGE.git/ 2>/dev/null | \
22 sed '/tag.?h=v/!d;s|.*tag.?h=v||;s|.>.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/sbin $fs/usr
42 }