wok-next diff laptop-detect/receipt @ rev 21010

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 12 16:40:30 2018 +0300 (2018-10-12)
parents
children d5aab818505e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/laptop-detect/receipt	Fri Oct 12 16:40:30 2018 +0300
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="laptop-detect"
     1.7 +VERSION="0.16"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="System chassis type checker"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="https://gitlab.com/debiants/laptop-detect"
    1.13 +
    1.14 +TARBALL="${PACKAGE}_$VERSION.tar.xz"
    1.15 +WGET_URL="http://ftp.debian.org/debian/pool/main/l/laptop-detect/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mkdir -p $install/usr/sbin
    1.21 +	sed -e "s|@VERSION@|$VERSION|g" < laptop-detect.in > $install/usr/sbin/laptop-detect
    1.22 +	chmod 755 $install/usr/sbin/laptop-detect
    1.23 +	cook_pick_manpages *.1
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	copy @std
    1.30 +	DEPENDS="dmidecode"
    1.31 +}