wok-next view lsb-release/receipt @ rev 19819
gstreamer0: update for the new bison version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 29 12:09:11 2017 +0200 (2017-07-29) |
parents | |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lsb-release"
4 VERSION="1.4"
5 CATEGORY="base-system"
6 SHORT_DESC="Linux Standards Base (LSB) status of the distribution"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="OSI"
9 WEB_SITE="https://sourceforge.net/projects/lsb/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/lsb/$TARBALL"
14 BUILD_DEPENDS="help2man"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/lsb-release.html
20 sed -i "s|n/a|unavailable|" lsb_release
21 ./help2man -N \
22 --include ./lsb_release.examples \
23 --alt_version_key=program_version \
24 ./lsb_release > lsb_release.1
26 mkdir -p $install/usr/share/man/man1/
27 install -v -m644 lsb_release.1 $install/usr/share/man/man1/
29 mkdir -p $install/usr/bin/
30 install -v -m755 lsb_release $install/usr/bin/
32 mkdir -p $install/etc/
33 cp $stuff/lsb-release $install/etc/
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 copy @std
40 }