wok-next diff lsb-release/receipt @ rev 19936
mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 17:04:15 2017 +0200 (2017-10-15) |
parents | |
children | f48456621a9d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lsb-release/receipt Sun Oct 15 17:04:15 2017 +0200 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="lsb-release" 1.7 +VERSION="1.4" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="Linux Standards Base (LSB) status of the distribution" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="OSI" 1.12 +WEB_SITE="https://sourceforge.net/projects/lsb/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="$SF_MIRROR/lsb/$TARBALL" 1.16 + 1.17 +BUILD_DEPENDS="help2man" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/lsb-release.html 1.23 + sed -i "s|n/a|unavailable|" lsb_release 1.24 + ./help2man -N \ 1.25 + --include ./lsb_release.examples \ 1.26 + --alt_version_key=program_version \ 1.27 + ./lsb_release > lsb_release.1 1.28 + 1.29 + mkdir -p $install/usr/share/man/man1/ 1.30 + install -v -m644 lsb_release.1 $install/usr/share/man/man1/ 1.31 + 1.32 + mkdir -p $install/usr/bin/ 1.33 + install -v -m755 lsb_release $install/usr/bin/ 1.34 + 1.35 + mkdir -p $install/etc/ 1.36 + cp $stuff/lsb-release $install/etc/ 1.37 +} 1.38 + 1.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 +genpkg_rules() 1.41 +{ 1.42 + copy @std 1.43 +}