From 4af7333fc6e574decf66e644a014d400d92e3ed7 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 24 Jun 2017 15:40:41 +0200 Subject: [PATCH] New Package: libeb-4.4.3 --- common/shlibs | 1 + srcpkgs/eb/patches/cross.patch | 171 +++++++++++++++++++++++++++++++++ srcpkgs/eb/template | 35 +++++++ srcpkgs/libeb | 1 + srcpkgs/libeb-devel | 1 + 5 files changed, 209 insertions(+) create mode 100644 srcpkgs/eb/patches/cross.patch create mode 100644 srcpkgs/eb/template create mode 120000 srcpkgs/libeb create mode 120000 srcpkgs/libeb-devel diff --git a/common/shlibs b/common/shlibs index 7f21111c2b..275ae8880d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2801,3 +2801,4 @@ libunshield.so.0 libunshield-0.6_1 libMyGUIEngine.so.3 libmygui-3.2.2_1 libproj.so.12 proj-4.9.3_1 libnlopt.so.0 nlopt-2.4.2_1 +libeb.so.16 libeb-4.3.3_1 diff --git a/srcpkgs/eb/patches/cross.patch b/srcpkgs/eb/patches/cross.patch new file mode 100644 index 0000000000..9c9f0e7a31 --- /dev/null +++ b/srcpkgs/eb/patches/cross.patch @@ -0,0 +1,171 @@ +--- configure.old 2017-07-01 12:43:00.384785855 +0200 ++++ configure 2017-07-01 12:55:03.102813398 +0200 +@@ -6752,7 +6752,7 @@ + + if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. +- if test "$cross_compiling" = yes; then ++ if test "$cross_compiling" = yes; then : + : + else + cat >conftest.$ac_ext <<_ACEOF +@@ -11607,14 +11607,7 @@ + if test "${ac_cv_func_printf_ll+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + +@@ -11672,14 +11665,7 @@ + if test "${ac_cv_func_printf_i64+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + +@@ -14066,14 +14052,7 @@ + $as_echo "$ac_cv_type_in_port_t" >&6; } + if test "$ac_cv_type_in_port_t" != yes; then + ac_cv_sin_port_size=unknown +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + +@@ -14120,14 +14099,7 @@ + fi + + +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + +@@ -14174,14 +14146,7 @@ + fi + + +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + +@@ -14228,14 +14193,7 @@ + fi + + +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + +@@ -14337,14 +14295,7 @@ + $as_echo "$ac_cv_type_sa_family_t" >&6; } + if test "$ac_cv_type_sa_family_t" != yes; then + ac_cv_sa_family_size=unknown +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + +@@ -14390,14 +14341,7 @@ + fi + + +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + +@@ -14443,14 +14387,7 @@ + fi + + +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + +@@ -14496,14 +14433,7 @@ + fi + + +- if test "$cross_compiling" = yes; then +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ if test "$cross_compiling" = yes; then : + else + cat >conftest.$ac_ext <<_ACEOF + diff --git a/srcpkgs/eb/template b/srcpkgs/eb/template new file mode 100644 index 0000000000..50f58178b5 --- /dev/null +++ b/srcpkgs/eb/template @@ -0,0 +1,35 @@ +# Template file for 'eb' +pkgname=eb +version=4.4.3 +revision=1 +build_style=gnu-configure +hostmakedepends="perl" +makedepends="zlib-devel" +short_desc="C library and tools for accessing CD-ROM books" +maintainer="John " +license="BSD-3" +homepage="https://github.com/2ion/eb" +distfiles="https://github.com/2ion/eb/archive/${version}.tar.gz" +checksum=16274f4d5ec34cc37ed308927390a1d0d09e0e6a2b35fbff7d17aacca0524a37 + +post_install() { + vlicense COPYING +} + +libeb-devel_package() { + depends="libeb>=${version}_${revision}" + short_desc += " - development files" + pkg_install() { + vmove usr/include + vmove usr/share/aclocal + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + } +} + +libeb_package() { + short_desc += " - Library" + pkg_install() { + vmove usr/lib + } +} diff --git a/srcpkgs/libeb b/srcpkgs/libeb new file mode 120000 index 0000000000..efe8b8cdc0 --- /dev/null +++ b/srcpkgs/libeb @@ -0,0 +1 @@ +eb \ No newline at end of file diff --git a/srcpkgs/libeb-devel b/srcpkgs/libeb-devel new file mode 120000 index 0000000000..efe8b8cdc0 --- /dev/null +++ b/srcpkgs/libeb-devel @@ -0,0 +1 @@ +eb \ No newline at end of file