wok-next annotate laptop-detect/receipt @ rev 21529

updated buildroot (2014.08 -> 2020.05)
author Hans-G?nter Theisgen
date Sat Jun 20 16:34:10 2020 +0100 (2020-06-20)
parents d5aab818505e
children
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@21057 10 HOST_ARCH="any"
al@19866 11
al@19866 12 TARBALL="${PACKAGE}_$VERSION.tar.xz"
al@19866 13 WGET_URL="http://ftp.debian.org/debian/pool/main/l/laptop-detect/$TARBALL"
al@19866 14
al@21020 15 compile_rules() {
al@19866 16 mkdir -p $install/usr/sbin
al@19866 17 sed -e "s|@VERSION@|$VERSION|g" < laptop-detect.in > $install/usr/sbin/laptop-detect
al@19866 18 chmod 755 $install/usr/sbin/laptop-detect
al@19866 19 cook_pick_manpages *.1
al@19866 20 }
al@19866 21
al@21020 22 genpkg_rules() {
al@19866 23 copy @std
al@19866 24 DEPENDS="dmidecode"
al@19866 25 }