# HG changeset patch
# User Pascal Bellard <pascal.bellard@slitaz.org>
# Date 1551896645 -3600
# Node ID e7d07cdc6c6e53f8b13edeac5698397a94f0896a
# Parent  c592287b8ce7e90e74b601de13988e9bdc771e15
Add libgit2

diff -r c592287b8ce7 -r e7d07cdc6c6e libgit2-dev/receipt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgit2-dev/receipt	Wed Mar 06 19:24:05 2019 +0100
@@ -0,0 +1,20 @@
+# SliTaz package receipt.
+
+PACKAGE="libgit2-dev"
+VERSION="0.28.1"
+CATEGORY="development"
+SHORT_DESC="A library implementation of Git, developement files"
+MAINTAINER="pascal.bellard@slitaz.org"
+LICENSE="GPL2"
+WEB_SITE="https://libgit2.org/"
+WANTED="libgit2"
+
+DEPENDS="libgit2 pkg-config"
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+	mkdir -p $fs/usr/lib
+	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
+	cp -a $install/usr/include $fs/usr
+}
diff -r c592287b8ce7 -r e7d07cdc6c6e libgit2/receipt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgit2/receipt	Wed Mar 06 19:24:05 2019 +0100
@@ -0,0 +1,28 @@
+# SliTaz package receipt.
+
+PACKAGE="libgit2"
+VERSION="0.28.1"
+CATEGORY="development"
+SHORT_DESC="A library implementation of Git"
+MAINTAINER="pascal.bellard@slitaz.org"
+LICENSE="GPL2"
+TARBALL="$PACKAGE-$VERSION.tar.gz"
+WEB_SITE="https://libgit2.org/"
+WGET_URL="https://github.com/libgit2/libgit2/archive/v$VERSION.tar.gz"
+
+BUILD_DEPENDS="cmake python"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+	mkdir build && cd build
+	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
+	cmake --build . --target install
+}
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+	mkdir -p $fs/usr/lib
+	cp -a $install/usr/lib/*.so* $fs/usr/lib
+}
diff -r c592287b8ce7 -r e7d07cdc6c6e syslinux/stuff/iso2exe/win32.ico
Binary file syslinux/stuff/iso2exe/win32.ico has changed
diff -r c592287b8ce7 -r e7d07cdc6c6e syslinux/stuff/iso2exe/win32.rc
--- a/syslinux/stuff/iso2exe/win32.rc	Wed Mar 06 17:39:40 2019 +0100
+++ b/syslinux/stuff/iso2exe/win32.rc	Wed Mar 06 19:24:05 2019 +0100
@@ -1,7 +1,6 @@
 /* http://msdn.microsoft.com/en-us/library/aa381058.aspx */
 
-/* id ICON "./win32.ico" */	/* BMP32x32 */
-id ICON "./isohybrid.ico"
+id ICON "./win32.ico"
 VS_VERSION_INFO	VERSIONINFO
 FILEVERSION	1,0,0,0
 PRODUCTVERSION	1,0,0,0