2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
13 PKG_MINOR_VERSION
:=135
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
$(PKG_MINOR_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=@SF
/libspe
18 PKG_MD5SUM
:=c77dc69d3585d45f980e661232ae2b0b
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/libspe2
25 TITLE
:=SPE Runtime Management Library for the Cell Broadband Engine
27 URL
:=http
://sourceforge.net
/projects
/libspe
/
31 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
="$(PKG_INSTALL_DIR)" SYSROOT
="" CROSS
=$(TARGET_CROSS
) all install
34 define Build
/InstallDev
35 echo
"Build/InstallDev"
36 mkdir
-p
$(1)/usr
/include
37 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
39 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspe2
* $(1)/usr
/lib
/
42 define Package
/libspe2
/install
43 echo
"Package/libspe2/install"
44 $(INSTALL_DIR
) $(1)/usr
/lib
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspe2
* $(1)/usr
/lib
/
48 $(eval
$(call BuildPackage
,libspe2
))