diff --git a/x11-libs/libxcursor/libxcursor-1.1.15.recipe b/x11-libs/libxcursor/libxcursor-1.1.15.recipe new file mode 100644 index 000000000..5acb5aa1e --- /dev/null +++ b/x11-libs/libxcursor/libxcursor-1.1.15.recipe @@ -0,0 +1,89 @@ +SUMMARY="A library for managing X11 cursors" +DESCRIPTION="libXcursor is a cursor management library for the X Window System." +HOMEPAGE="https://www.x.org/wiki/" +COPYRIGHT="2002-2003 Keith Packard" +LICENSE="libXcursor" +REVISION="1" +SOURCE_URI="https://www.x.org/releases/individual/lib/libXcursor-$portVersion.tar.bz2" +CHECKSUM_SHA256="294e670dd37cd23995e69aae626629d4a2dfe5708851bbc13d032401b7a3df6b" +SOURCE_DIR="libXcursor-$portVersion" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +libVersion="1.0.2" +libVersionCompat="$libVersion compat >= ${libVersion%%.*}" + +PROVIDES=" + libxcursor$secondaryArchSuffix = $portVersion + lib:libxcursor$secondaryArchSuffix = $libVersionCompat + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libX11$secondaryArchSuffix + lib:libxfixes$secondaryArchSuffix + lib:libxrender$secondaryArchSuffix + " + +PROVIDES_devel=" + libxcursor${secondaryArchSuffix}_devel = $portVersion + devel:libxcursor$secondaryArchSuffix = $libVersionCompat + " +REQUIRES_devel=" + libxcursor$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:cursorproto$secondaryArchSuffix + devel:fixesproto$secondaryArchSuffix + devel:kbproto$secondaryArchSuffix + devel:libpthread_stubs$secondaryArchSuffix + devel:libX11$secondaryArchSuffix + devel:libxfixes$secondaryArchSuffix + devel:libxrender$secondaryArchSuffix + devel:renderproto$secondaryArchSuffix + devel:xextproto$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + devel:util_macros$secondaryArchSuffix + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:autoheader + cmd:awk + cmd:gcc$secondaryArchSuffix + cmd:grep + cmd:libtoolize$secondaryArchSuffix + cmd:make + cmd:makeinfo + cmd:pkg_config$secondaryArchSuffix + cmd:sed + " + +defineDebugInfoPackage libxcursor$secondaryArchSuffix \ + "$libDir"/libXcursor.so.$libVersion + +BUILD() +{ + autoreconf -vfi + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + install -d "$docDir" + install -t "$docDir" README + + rm -f "$libDir"/libXcursor.la + + prepareInstalledDevelLib libXcursor + fixPkgconfig + + # devel package + packageEntries devel \ + "$developDir" \ + "$manDir" +} diff --git a/x11-libs/libxcursor/licenses/libXcursor b/x11-libs/libxcursor/licenses/libXcursor new file mode 100644 index 000000000..6d9f423cd --- /dev/null +++ b/x11-libs/libxcursor/licenses/libXcursor @@ -0,0 +1,19 @@ +Copyright © 2002 Keith Packard + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of Keith Packard not be used in +advertising or publicity pertaining to distribution of the software without +specific, written prior permission. Keith Packard makes no +representations about the suitability of this software for any purpose. It +is provided "as is" without express or implied warranty. + +KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE.