lsb-release.düzenlendi

This commit is contained in:
giresun28 2016-08-02 17:33:38 +00:00
parent a93185b9ed
commit 7dc12e8be6
2 changed files with 12 additions and 9 deletions

View File

@ -0,0 +1,4 @@
DISTRIB_ID="MilisLinux"
DISTRIB_RELEASE="1.0"
DISTRIB_DESCRIPTION="Milis İsletim Sistemi 1.0"
DISTRIB_CODENAME="Atilla"

View File

@ -1,20 +1,19 @@
# Description: Provides informations about LSB status (Linux Standards Base) of the distribution.
# URL: http://www.linuxbase.org/
# Maintainer: Sven-Hendrik Haase
# Packager: geantbrun at gmail dot com
# Packager: alihan-ozturk28@hotmail.com
# Depends on:
name=lsb-release
version=1.4
release=1
source=(http://sourceforge.net/projects/lsb/files/lsb_release/${version}/${name}-${version}.tar.gz)
source=(http://sourceforge.net/projects/lsb/files/lsb_release/${version}/${name}-${version}.tar.gz \
lsbrelease)
build() {
cd ${name}-${version}
sed -i "s|n/a|unavailable|" lsb_release
./help2man -N --include ./lsb_release.examples \
--alt_version_key=program_version ./lsb_release > lsb_release.1
mkdir -p $PKG/usr/{bin,share/man/man1}
install -v -m 644 lsb_release.1 $PKG/usr/share/man/man1/lsb_release.1
install -v -m 755 lsb_release $PKG/usr/bin/lsb_release
make
make DESTDIR=$PKG prefix="/usr" install
mkdir -p $PKG/etc/
cp $SRC/lsbrelease $PKG/etc/lsb-release
}