wok-next rev 20684
Add libosinfo, osinfo-db-tools, osinfo-db
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 18 15:25:03 2018 +0300 (2018-05-18) |
parents | 4be7000381e1 |
children | d807b7e7318c |
files | libosinfo/receipt osinfo-db-tools/receipt osinfo-db/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libosinfo/receipt Fri May 18 15:25:03 2018 +0300 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libosinfo" 1.7 +VERSION="1.1.0" 1.8 +CATEGORY="libdevel" 1.9 +SHORT_DESC="GObject based library API for managing information about operating \ 1.10 +systems, hypervisors and the (virtual) hardware devices they can support" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="GPL2" 1.13 +WEB_SITE="https://libosinfo.org/" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="https://releases.pagure.org/libosinfo/$TARBALL" 1.17 + 1.18 +BUILD_DEPENDS="intltool libxslt-dev libsoup-dev gtk-doc check-dev \ 1.19 +gobject-introspection-dev vala locale-en-base usbids pciids" 1.20 +SPLIT="libosinfo-dev" 1.21 + 1.22 +compile_rules() { 1.23 + mkdir -p /usr/lib/locale 1.24 + localedef -i 'en_US' -c -f 'UTF-8' /usr/lib/locale/en_US.UTF-8 1.25 + 1.26 + ./configure \ 1.27 + --with-usb-ids-path=/usr/share/hwdata/usb.ids \ 1.28 + --with-pci-ids-path=/usr/share/hwdata/pci.ids \ 1.29 + --enable-gtk-doc \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && 1.32 + make install 1.33 +} 1.34 + 1.35 +genpkg_rules() { 1.36 + case $PACKAGE in 1.37 + libosinfo) 1.38 + copy @std 1.39 + DEPENDS="glib libxml2 libxslt" 1.40 + ;; 1.41 + *-dev) 1.42 + copy @dev 1.43 + DEPENDS="libosinfo glib-dev" 1.44 + ;; 1.45 + esac 1.46 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/osinfo-db-tools/receipt Fri May 18 15:25:03 2018 +0300 2.3 @@ -0,0 +1,26 @@ 2.4 +# SliTaz package receipt v2. 2.5 + 2.6 +PACKAGE="osinfo-db-tools" 2.7 +VERSION="1.1.0" 2.8 +CATEGORY="utilities" 2.9 +SHORT_DESC="Tools for managing the osinfo database" 2.10 +MAINTAINER="al.bobylev@gmail.com" 2.11 +LICENSE="GPL2" 2.12 +WEB_SITE="https://libosinfo.org/" 2.13 + 2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 +WGET_URL="https://releases.pagure.org/libosinfo/$TARBALL" 2.16 + 2.17 +BUILD_DEPENDS="intltool libxslt-dev libarchive-dev" 2.18 + 2.19 +compile_rules() { 2.20 + ./configure $CONFIGURE_ARGS && 2.21 + fix libtool && 2.22 + make && 2.23 + make install 2.24 +} 2.25 + 2.26 +genpkg_rules() { 2.27 + copy @std 2.28 + DEPENDS="glib libarchive libxml2" 2.29 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/osinfo-db/receipt Fri May 18 15:25:03 2018 +0300 3.3 @@ -0,0 +1,24 @@ 3.4 +# SliTaz package receipt v2. 3.5 + 3.6 +PACKAGE="osinfo-db" 3.7 +VERSION="20180514" 3.8 +CATEGORY="database" 3.9 +SHORT_DESC="Osinfo database of information about operating systems for \ 3.10 +virtualization provisioning tools" 3.11 +MAINTAINER="al.bobylev@gmail.com" 3.12 +LICENSE="GPL2" 3.13 +WEB_SITE="https://libosinfo.org/" 3.14 + 3.15 +TARBALL="$PACKAGE-$VERSION.tar.xz" 3.16 +WGET_URL="https://releases.pagure.org/libosinfo/$TARBALL" 3.17 + 3.18 +BUILD_DEPENDS="osinfo-db-tools" 3.19 + 3.20 +compile_rules() { 3.21 + cp $SRC/$TARBALL $src 3.22 + osinfo-db-import --root "$install" --system $TARBALL 3.23 +} 3.24 + 3.25 +genpkg_rules() { 3.26 + copy @std 3.27 +}