diff --git a/x11-proto/scrnsaverproto/scrnsaverproto-1.2.2.recipe b/x11-proto/scrnsaverproto/scrnsaverproto-1.2.2.recipe new file mode 100644 index 000000000..74837b184 --- /dev/null +++ b/x11-proto/scrnsaverproto/scrnsaverproto-1.2.2.recipe @@ -0,0 +1,47 @@ +SUMMARY="MIT Screen Saver Extension" +DESCRIPTION="This extension defines a protocol to control screensaver features \ +and also to query screensaver info on specific windows." +HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/" +COPYRIGHT="1992 X Consortium" +LICENSE="MIT (no promotion)" +REVISION="1" +SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/scrnsaverproto-$portVersion.tar.gz" +CHECKSUM_SHA256="d8dee19c52977f65af08fad6aa237bacee11bc5a33e1b9b064e8ac1fd99d6e79" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + scrnsaverproto$secondaryArchSuffix = $portVersion + devel:scrnsaverproto$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + devel:util_macros$secondaryArchSuffix + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + libtoolize --force --copy --install + autoreconf -i + runConfigure ./configure +} + +INSTALL() +{ + make install + fixPkgconfig +}