wok-next annotate laptop-detect/receipt @ rev 19999
Up qedit, qbittorrent
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 21:21:58 2017 +0200 (2017-10-20) |
parents | |
children | d5aab818505e |
rev | line source |
---|---|
al@19866 | 1 # SliTaz package receipt v2. |
al@19866 | 2 |
al@19866 | 3 PACKAGE="laptop-detect" |
al@19866 | 4 VERSION="0.16" |
al@19866 | 5 CATEGORY="system-tools" |
al@19866 | 6 SHORT_DESC="System chassis type checker" |
al@19866 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19866 | 8 LICENSE="BSD" |
al@19866 | 9 WEB_SITE="https://gitlab.com/debiants/laptop-detect" |
al@19866 | 10 |
al@19866 | 11 TARBALL="${PACKAGE}_$VERSION.tar.xz" |
al@19866 | 12 WGET_URL="http://ftp.debian.org/debian/pool/main/l/laptop-detect/$TARBALL" |
al@19866 | 13 |
al@19866 | 14 # Rules to configure and make the package. |
al@19866 | 15 compile_rules() |
al@19866 | 16 { |
al@19866 | 17 mkdir -p $install/usr/sbin |
al@19866 | 18 sed -e "s|@VERSION@|$VERSION|g" < laptop-detect.in > $install/usr/sbin/laptop-detect |
al@19866 | 19 chmod 755 $install/usr/sbin/laptop-detect |
al@19866 | 20 cook_pick_manpages *.1 |
al@19866 | 21 } |
al@19866 | 22 |
al@19866 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19866 | 24 genpkg_rules() |
al@19866 | 25 { |
al@19866 | 26 copy @std |
al@19866 | 27 DEPENDS="dmidecode" |
al@19866 | 28 } |