diff options
Diffstat (limited to 'package/libXfixes/Makefile')
-rw-r--r-- | package/libXfixes/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/package/libXfixes/Makefile b/package/libXfixes/Makefile index 7895a0a3c..9a6f5b308 100644 --- a/package/libXfixes/Makefile +++ b/package/libXfixes/Makefile @@ -10,16 +10,27 @@ PKG_MD5SUM:= 556ffa2e75f2a3b5d92d004a6b124a6d PKG_DESCR:= X Fixes Library PKG_SECTION:= x11/libs PKG_BUILDDEP:= fixesproto xextproto xproto libX11 -PKG_URL:= http://xorg.freedesktop.org -PKG_SITES:= http://xorg.freedesktop.org/archive/individual/lib/ +PKG_URL:= http://xorg.freedesktop.org/ +PKG_SITES:= ${MASTER_SITE_XORG} + +PKG_SUBPKGS:= LIBXFIXES LIBXFIXES_DEV include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBXFIXES,libxfixes,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBXFIXES_DEV,libxfixes-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -post-install: +libxfixes-install: $(INSTALL_DIR) $(IDIR_LIBXFIXES)/usr/lib $(CP) $(WRKINST)/usr/lib/libXfixes*.so* \ $(IDIR_LIBXFIXES)/usr/lib +libxfixes-dev-install: + $(INSTALL_DIR) $(IDIR_LIBXFIXES_DEV)/usr/include/X11/extensions + $(CP) $(WRKINST)/usr/include/X11/extensions/Xfixes.h \ + $(IDIR_LIBXFIXES_DEV)/usr/include/X11/extensions + $(INSTALL_DIR) $(IDIR_LIBXFIXES_DEV)/usr/lib/pkgconfig + $(CP) $(WRKINST)/usr/lib/pkgconfig/xfixes.pc \ + $(IDIR_LIBXFIXES_DEV)/usr/lib/pkgconfig + include ${TOPDIR}/mk/pkg-bottom.mk |