wok-next view laptop-detect/receipt @ rev 21047
Up tazpkg (971), cookutils (1095)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 26 21:15:05 2018 +0200 (2018-11-26) |
parents | 6d2b71cbba60 |
children | 0cbe4b1f2230 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="laptop-detect"
4 VERSION="0.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="System chassis type checker"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://gitlab.com/debiants/laptop-detect"
11 TARBALL="${PACKAGE}_$VERSION.tar.xz"
12 WGET_URL="http://ftp.debian.org/debian/pool/main/l/laptop-detect/$TARBALL"
14 compile_rules() {
15 mkdir -p $install/usr/sbin
16 sed -e "s|@VERSION@|$VERSION|g" < laptop-detect.in > $install/usr/sbin/laptop-detect
17 chmod 755 $install/usr/sbin/laptop-detect
18 cook_pick_manpages *.1
19 }
21 genpkg_rules() {
22 copy @std
23 DEPENDS="dmidecode"
24 }