Der Patch baut Metadaten in die Paketarchive ein. -- Alexander Siol alex@xxxxxxxxxx dunklermeuchler@xxxxxxxxx
diff --git a/lbuild.sh b/lbuild.sh index 423f3aa..a78d707 100755 --- a/lbuild.sh +++ b/lbuild.sh @@ -44,6 +44,8 @@ init_env() { export PN=`expr match "${P}" '^\([^\-]*\)-.*$'` # Paketversion export PV=`expr match "${P}" '[^0-9]*\-\([0-9].*\)$'` + # Paketsektion (standardmäßig bin) + export PS="bin" # Das Arbeitsverzeichnis wird nach Kategorien und Paketen unterteilt export WORKDIR="${WORKDIR_BASE}/${P}" @@ -235,7 +237,7 @@ internal_src_install() { call_if_exists src_install lstatus "Erstelle oder erweitere postinstall-Skript" - PIS="${D}/${R}/postinstall-bin" + PIS="${D}/${R}/postinstall-${PS}" test -f "$PIS" || echo "#!file:/apps/sh" >> "$PIS" for b in ${D}/${R}/bin/*; do test -f "$b" || continue @@ -264,6 +266,11 @@ internal_src_install() { lstatus " adddoc $doc" done + lstatus "Schreibe Metadaten" + echo $PN >> ${D}/packageinfo + echo $PV >> ${D}/packageinfo + echo $PS >> ${D}/packageinfo + echo "i386" >> ${D}/packageinfo if has_feature "nostrip"; then lstatus "Ueberspringe das Strippen der Binaries" diff --git a/lbuilds/libnxml/0.18.3/libnxml-0.18.3.lbuild b/lbuilds/libnxml/0.18.3/libnxml-0.18.3.lbuild index b816016..ffafe44 100644 --- a/lbuilds/libnxml/0.18.3/libnxml-0.18.3.lbuild +++ b/lbuilds/libnxml/0.18.3/libnxml-0.18.3.lbuild @@ -4,6 +4,7 @@ include toolchain DESCRIPTION="" HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/libnxml" SRC_URI="http://www.autistici.org/bakunin/libnxml/${P}.tar.gz" +PS="lib" LICENSE="LGPL-2.1" diff --git a/lbuilds/ncurses/5.6/ncurses-5.6.lbuild b/lbuilds/ncurses/5.6/ncurses-5.6.lbuild index fc131c3..581a8e2 100644 --- a/lbuilds/ncurses/5.6/ncurses-5.6.lbuild +++ b/lbuilds/ncurses/5.6/ncurses-5.6.lbuild @@ -4,6 +4,7 @@ include toolchain DESCRIPTION="" HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/ncurses" SRC_URI="http://ftp.gnu.org/gnu/ncurses/${P}.tar.gz" +PS="lib" LICENSE="GPL-2" diff --git a/lbuilds/zlib/1.2.3/zlib-1.2.3.lbuild b/lbuilds/zlib/1.2.3/zlib-1.2.3.lbuild index 70136dc..7864b28 100644 --- a/lbuilds/zlib/1.2.3/zlib-1.2.3.lbuild +++ b/lbuilds/zlib/1.2.3/zlib-1.2.3.lbuild @@ -4,6 +4,7 @@ include lutils DESCRIPTION="" HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/zlib" SRC_URI="http://www.gzip.org/zlib/${P}.tar.gz" +PS="lib" LICENSE="zlib"
Attachment:
signature.asc
Description: Digital signature