Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 22103

Summary: tcng ebuild
Product: Gentoo Linux Reporter: Christian Parpart (RETIRED) <trapni>
Component: New packagesAssignee: Daniel Ahlberg (RETIRED) <aliz>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://tcng.sf.net/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sys-apps/tcng-9e.ebuild: this is my ebuild trial
sys-apps/tcng-9e.ebuild, this is my ebuild trial
sys-apps/tcng-9e.ebuild, this is my ebuild trial
this is my ebuild trial

Description Christian Parpart (RETIRED) gentoo-dev 2003-06-02 09:34:19 UTC
hi, 
 
I was recently trying to create a tcng ebuild but unfortunately failed; 
so, can someone of you create such an ebuild? (because I had problems with  
the tcng's localize.sh script that he needs to install this) 

Reproducible: Always
Steps to Reproduce:
1. create ebuild 
2. emerge ebuild 
3. watch and feel 
Actual Results:  
sandbox complained, or TCNG_TOPDIR wasn't set right (of course) 

Expected Results:  
a working ebuild
Comment 1 Christian Parpart (RETIRED) gentoo-dev 2003-06-02 09:53:10 UTC
Created attachment 12684 [details]
sys-apps/tcng-9e.ebuild: this is my ebuild trial

the little diff below is the required patch by the ebuild I posted;
however, localize.sh is still evil :(

--- Makefile.orig	2003-06-02 15:55:38.000000000 +0200
+++ Makefile	2003-06-02 16:01:18.000000000 +0200
@@ -324,9 +324,8 @@
 install-tcc:		tcc check-install-dir scripts/localize.sh
			ln -sf scripts/localize.sh .
			tar cfh - $(TCC_BINDIST) | \
-			  (cd $(INSTALL_DIR) && tar xf -)
-			cd $(INSTALL_DIR) && ./localize.sh
-			rm -f localize.sh $(INSTALL_DIR)/localize.sh
+			  (cd $(DESTDIR)$(INSTALL_DIR) && tar xf -)
+			rm -f localize.sh $(DESTDIR)$(INSTALL_DIR)/localize.sh
 
 install-tcsim: 	tcsim check-install-dir scripts/localize.sh
			ln -sf scripts/localize.sh .
Comment 2 Christian Parpart (RETIRED) gentoo-dev 2003-06-02 09:54:20 UTC
Created attachment 12685 [details]
sys-apps/tcng-9e.ebuild, this is my ebuild trial

the little diff below is the required patch by the ebuild I posted;
however, localize.sh is still evil :(

|--- Makefile.orig	2003-06-02 15:55:38.000000000 +0200
|+++ Makefile	2003-06-02 16:01:18.000000000 +0200
@@ -324,9 +324,8 @@
 install-tcc:		tcc check-install-dir scripts/localize.sh
			ln -sf scripts/localize.sh .
			tar cfh - $(TCC_BINDIST) | \
-			  (cd $(INSTALL_DIR) && tar xf -)
-			cd $(INSTALL_DIR) && ./localize.sh
-			rm -f localize.sh $(INSTALL_DIR)/localize.sh
+			  (cd $(DESTDIR)$(INSTALL_DIR) && tar xf -)
+			rm -f localize.sh $(DESTDIR)$(INSTALL_DIR)/localize.sh
 
 install-tcsim: 	tcsim check-install-dir scripts/localize.sh
			ln -sf scripts/localize.sh .
Comment 3 Christian Parpart (RETIRED) gentoo-dev 2003-06-02 09:55:23 UTC
Created attachment 12686 [details]
sys-apps/tcng-9e.ebuild, this is my ebuild trial
Comment 4 Christian Parpart (RETIRED) gentoo-dev 2003-06-02 09:56:22 UTC
Created attachment 12687 [details]
this is my ebuild trial

the little diff below is the required patch by the ebuild I posted;
however, localize.sh is still evil :(

--- Makefile.orig	2003-06-02 15:55:38.000000000 +0200
+++ Makefile	2003-06-02 16:01:18.000000000 +0200
@@ -324,9 +324,8 @@
 install-tcc:		tcc check-install-dir scripts/localize.sh
			ln -sf scripts/localize.sh .
			tar cfh - $(TCC_BINDIST) | \
-			  (cd $(INSTALL_DIR) && tar xf -)
-			cd $(INSTALL_DIR) && ./localize.sh
-			rm -f localize.sh $(INSTALL_DIR)/localize.sh
+			  (cd $(DESTDIR)$(INSTALL_DIR) && tar xf -)
+			rm -f localize.sh $(DESTDIR)$(INSTALL_DIR)/localize.sh
 
 install-tcsim: 	tcsim check-install-dir scripts/localize.sh
			ln -sf scripts/localize.sh .
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-14 22:54:11 UTC
In cvs now, after i modified your ebuild heavily.
sys-apps/tcng