Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22103 - tcng ebuild
Summary: tcng ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL: http://tcng.sf.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-06-02 09:34 UTC by Christian Parpart (RETIRED)
Modified: 2003-11-14 22:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-apps/tcng-9e.ebuild: this is my ebuild trial (tcng-9e.ebuild,1.42 KB, text/plain)
2003-06-02 09:53 UTC, Christian Parpart (RETIRED)
Details
sys-apps/tcng-9e.ebuild, this is my ebuild trial (tcng-9e.ebuild,1.42 KB, text/plain)
2003-06-02 09:54 UTC, Christian Parpart (RETIRED)
Details
sys-apps/tcng-9e.ebuild, this is my ebuild trial (tcng-9e.ebuild,1.42 KB, text/plain)
2003-06-02 09:55 UTC, Christian Parpart (RETIRED)
Details
this is my ebuild trial (tcng-9e.ebuild,1.42 KB, text/plain)
2003-06-02 09:56 UTC, Christian Parpart (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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