wok-next diff 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 diff
1.1 --- a/laptop-detect/receipt Tue Sep 19 02:54:15 2017 +0300 1.2 +++ b/laptop-detect/receipt Mon Nov 26 21:15:05 2018 +0200 1.3 @@ -11,18 +11,14 @@ 1.4 TARBALL="${PACKAGE}_$VERSION.tar.xz" 1.5 WGET_URL="http://ftp.debian.org/debian/pool/main/l/laptop-detect/$TARBALL" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 +compile_rules() { 1.11 mkdir -p $install/usr/sbin 1.12 sed -e "s|@VERSION@|$VERSION|g" < laptop-detect.in > $install/usr/sbin/laptop-detect 1.13 chmod 755 $install/usr/sbin/laptop-detect 1.14 cook_pick_manpages *.1 1.15 } 1.16 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 +genpkg_rules() { 1.21 copy @std 1.22 DEPENDS="dmidecode" 1.23 }