Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= rdesktop
  5. PKG_VERSION:= 1.8.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f5382c5c85b0d2cc88b9b1aa9bbf1356
  8. PKG_DESCR:= client for windows terminal services
  9. PKG_SECTION:= x11/apps
  10. PKG_DEPENDS:= libsamplerate libopenssl alsa-lib libao
  11. PKG_BUILDDEP:= openssl libsamplerate alsa-lib libao
  12. PKG_URL:= http://www.rdesktop.org/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=rdesktop/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,RDESKTOP,rdesktop,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
  18. CONFIGURE_ARGS+= --with-openssl="${STAGING_TARGET_DIR}/usr" \
  19. --disable-smartcard \
  20. --disable-credssp
  21. rdesktop-install:
  22. $(INSTALL_DIR) $(IDIR_RDESKTOP)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/rdesktop \
  24. $(IDIR_RDESKTOP)/usr/bin
  25. $(INSTALL_DIR) $(IDIR_RDESKTOP)/usr/share/rdesktop/keymaps
  26. ${INSTALL_DATA} ${WRKINST}/usr/share/rdesktop/keymaps/* \
  27. $(IDIR_RDESKTOP)/usr/share/rdesktop/keymaps
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk