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.
8 include $(TOPDIR
)/rules.mk
12 PKG_MINOR_VERSION
:=135
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
$(PKG_MINOR_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/libspe
17 PKG_MD5SUM
:=c77dc69d3585d45f980e661232ae2b0b
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/libspe2
24 TITLE
:=SPE Runtime Management Library for the Cell Broadband Engine
25 DEPENDS
:=@TARGET_ps3||TARGET_ps3chk
26 URL
:=http
://sourceforge.net
/projects
/libspe
/
30 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
="$(PKG_INSTALL_DIR)" SYSROOT
="" CROSS
=$(TARGET_CROSS
) all install
33 define Build
/InstallDev
34 echo
"Build/InstallDev"
35 $(INSTALL_DIR
) $(1)/usr
/include
36 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
37 $(INSTALL_DIR
) $(1)/usr
/lib
38 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspe2
* $(1)/usr
/lib
/
41 define Package
/libspe2
/install
42 echo
"Package/libspe2/install"
43 $(INSTALL_DIR
) $(1)/usr
/lib
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspe2
* $(1)/usr
/lib
/
47 $(eval
$(call BuildPackage
,libspe2
))