wok-next annotate lsb-release/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | aef69ec23a2f |
children |
rev | line source |
---|---|
al@19814 | 1 # SliTaz package receipt v2. |
al@19814 | 2 |
al@19814 | 3 PACKAGE="lsb-release" |
al@19814 | 4 VERSION="1.4" |
al@19814 | 5 CATEGORY="base-system" |
al@19814 | 6 SHORT_DESC="Linux Standards Base (LSB) status of the distribution" |
al@19814 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19814 | 8 LICENSE="OSI" |
al@19814 | 9 WEB_SITE="https://sourceforge.net/projects/lsb/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/lsb-release.html" |
al@19814 | 11 |
al@19814 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19814 | 13 WGET_URL="$SF_MIRROR/lsb/$TARBALL" |
al@19814 | 14 |
al@19814 | 15 BUILD_DEPENDS="help2man" |
al@19814 | 16 |
al@21017 | 17 compile_rules() { |
al@19814 | 18 sed -i "s|n/a|unavailable|" lsb_release |
al@19814 | 19 ./help2man -N \ |
al@19814 | 20 --include ./lsb_release.examples \ |
al@19814 | 21 --alt_version_key=program_version \ |
al@19814 | 22 ./lsb_release > lsb_release.1 |
al@19814 | 23 |
al@21017 | 24 install -Dm755 lsb_release $install/usr/bin/lsb_release |
al@21017 | 25 install -Dm644 $stuff/lsb-release $install/etc/lsb-release |
al@19814 | 26 |
al@21017 | 27 cook_pick_manpages lsb_release.1 |
al@19814 | 28 } |
al@19814 | 29 |
al@21017 | 30 genpkg_rules() { |
al@19814 | 31 copy @std |
al@19814 | 32 } |