wok-next annotate lsb-release/receipt @ rev 20632
gegl: fix packing
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 10:53:56 2018 +0300 (2018-04-27) |
parents | |
children | f48456621a9d |
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@19814 | 10 |
al@19814 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19814 | 12 WGET_URL="$SF_MIRROR/lsb/$TARBALL" |
al@19814 | 13 |
al@19814 | 14 BUILD_DEPENDS="help2man" |
al@19814 | 15 |
al@19814 | 16 # Rules to configure and make the package. |
al@19814 | 17 compile_rules() |
al@19814 | 18 { |
al@19814 | 19 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/lsb-release.html |
al@19814 | 20 sed -i "s|n/a|unavailable|" lsb_release |
al@19814 | 21 ./help2man -N \ |
al@19814 | 22 --include ./lsb_release.examples \ |
al@19814 | 23 --alt_version_key=program_version \ |
al@19814 | 24 ./lsb_release > lsb_release.1 |
al@19814 | 25 |
al@19814 | 26 mkdir -p $install/usr/share/man/man1/ |
al@19814 | 27 install -v -m644 lsb_release.1 $install/usr/share/man/man1/ |
al@19814 | 28 |
al@19814 | 29 mkdir -p $install/usr/bin/ |
al@19814 | 30 install -v -m755 lsb_release $install/usr/bin/ |
al@19814 | 31 |
al@19814 | 32 mkdir -p $install/etc/ |
al@19814 | 33 cp $stuff/lsb-release $install/etc/ |
al@19814 | 34 } |
al@19814 | 35 |
al@19814 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19814 | 37 genpkg_rules() |
al@19814 | 38 { |
al@19814 | 39 copy @std |
al@19814 | 40 } |