All pastes #384245 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-06 22:45 UTC
rendered paste body
Index: lang/python24/Makefile
===================================================================
--- lang/python24/Makefile	(revision 6532)
+++ lang/python24/Makefile	(working copy)
@@ -8,7 +8,7 @@
  
 include $(TOPDIR)/rules.mk
 
-PKG_NAME:=python
+PKG_NAME:=python24
 PKG_VERSION:=2.4.4
 PKG_RELEASE:=1
 
@@ -22,15 +22,15 @@
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/python
+define Package/python24
   SECTION:=lang
   CATEGORY:=Languages
   DEPENDS:=+uclibcxx
-  TITLE:=Python programming language
+  TITLE:=Python 2.4 programming language
   URL:=http://www.python.org/
 endef
 
-define Package/python/description
+define Package/python24/description
 Python programming language
 	Python is a dynamic object-oriented programming language that 
 	can be used for many kinds of software development. It offers 
@@ -92,10 +92,9 @@
 		$(STAGING_DIR)/usr/{include,lib}/python2.4
 endef
 
-define Package/python/install
+define Package/python24/install
 	$(INSTALL_DIR) $(1)/usr/bin
 	$(CP) $(PKG_INSTALL_DIR)/usr/bin/python2.4 $(1)/usr/bin/
-	ln -sf python2.4 $(1)/usr/bin/python
 	$(INSTALL_DIR) $(1)/usr/lib
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/python2.4 $(1)/usr/lib/
 	rm -rf \
@@ -108,4 +107,4 @@
 
 endef
 
-$(eval $(call BuildPackage,python))
+$(eval $(call BuildPackage,python24))