From 2dea9fc824c0b8581b3079ba8b81e6997144e727 Mon Sep 17 00:00:00 2001 From: milisbir Date: Wed, 26 Jul 2017 14:07:52 +0300 Subject: [PATCH] lsb_release --- .../lsb-release/lsbrelease | 0 .../lsb-release/milis-release | 0 .../lsb-release/system-release | 0 talimatname/genel/lsb-release/talimat | 19 +++++++++++++++++ talimatname/temel-ek/lsb-release/talimat | 21 ------------------- 5 files changed, 19 insertions(+), 21 deletions(-) rename talimatname/{temel-ek => genel}/lsb-release/lsbrelease (100%) rename talimatname/{temel-ek => genel}/lsb-release/milis-release (100%) rename talimatname/{temel-ek => genel}/lsb-release/system-release (100%) create mode 100755 talimatname/genel/lsb-release/talimat delete mode 100755 talimatname/temel-ek/lsb-release/talimat diff --git a/talimatname/temel-ek/lsb-release/lsbrelease b/talimatname/genel/lsb-release/lsbrelease similarity index 100% rename from talimatname/temel-ek/lsb-release/lsbrelease rename to talimatname/genel/lsb-release/lsbrelease diff --git a/talimatname/temel-ek/lsb-release/milis-release b/talimatname/genel/lsb-release/milis-release similarity index 100% rename from talimatname/temel-ek/lsb-release/milis-release rename to talimatname/genel/lsb-release/milis-release diff --git a/talimatname/temel-ek/lsb-release/system-release b/talimatname/genel/lsb-release/system-release similarity index 100% rename from talimatname/temel-ek/lsb-release/system-release rename to talimatname/genel/lsb-release/system-release diff --git a/talimatname/genel/lsb-release/talimat b/talimatname/genel/lsb-release/talimat new file mode 100755 index 000000000..5030b53e7 --- /dev/null +++ b/talimatname/genel/lsb-release/talimat @@ -0,0 +1,19 @@ +# Description: Dağıtımın (Linux Standards Base) bilgisi verir. +# URL: http://www.linuxbase.org/ +# Packager: milisarge +# Depends on: + +name=lsb-release +version=1.4 +release=1 +source=(http://sourceforge.net/projects/lsb/files/lsb_release/${version}/${name}-${version}.tar.gz \ + lsbrelease milis-release system-release) + +build() { + cd ${name}-${version} + install -Dm 755 lsb_release "$PKG/usr/bin/lsb_release" + mkdir -p $PKG/etc/ + cp $SRC/lsbrelease $PKG/etc/lsb-release + cp $SRC/milis-release $PKG/etc/milis-release + cp $SRC/system-release $PKG/etc/system-release +} diff --git a/talimatname/temel-ek/lsb-release/talimat b/talimatname/temel-ek/lsb-release/talimat deleted file mode 100755 index ddc2ce244..000000000 --- a/talimatname/temel-ek/lsb-release/talimat +++ /dev/null @@ -1,21 +0,0 @@ -# Description: Provides informations about LSB status (Linux Standards Base) of the distribution. -# URL: http://www.linuxbase.org/ -# Packager: milisarge -# Depends on: - -name=lsb-release -version=1.4 -release=1 -source=(http://sourceforge.net/projects/lsb/files/lsb_release/${version}/${name}-${version}.tar.gz \ - lsbrelease milis-release system-release) - -build() { -cd ${name}-${version} -make -make DESTDIR=$PKG prefix="/usr" install - -mkdir -p $PKG/etc/ -cp $SRC/lsbrelease $PKG/etc/lsb-release -cp $SRC/milis-release $PKG/etc/milis-release -cp $SRC/system-release $PKG/etc/system-release -}