You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							31 lines
						
					
					
						
							1008 B
						
					
					
				
			
		
		
	
	
							31 lines
						
					
					
						
							1008 B
						
					
					
				# --- SDE-COPYRIGHT-NOTE-BEGIN --- | 
						|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. | 
						|
# | 
						|
# Filename: package/.../gettext-stub/gettext-stub.conf | 
						|
# Copyright (C) 2011 The OpenSDE Project | 
						|
# | 
						|
# More information can be found in the files COPYING and README. | 
						|
# | 
						|
# This program is free software; you can redistribute it and/or modify | 
						|
# it under the terms of the GNU General Public License as published by | 
						|
# the Free Software Foundation; version 2 of the License. A copy of the | 
						|
# GNU General Public License can be found in the file COPYING. | 
						|
# --- SDE-COPYRIGHT-NOTE-END --- | 
						|
 | 
						|
makeopt='' | 
						|
makeinstopt='' | 
						|
 | 
						|
hook_add inmake 5 "$CC -shared -fPIC -o libintl.so libintl-stub.c" | 
						|
 | 
						|
# function to install gettext-stub | 
						|
gettext_stub_install() { | 
						|
	cp -vp libintl.so $root$libdir | 
						|
	cp -vp libintl-stub.h $root$includedir/libintl.h | 
						|
	cp -vp msgfmt $root$bindir | 
						|
} | 
						|
 | 
						|
if ! pkginstalled gettext; then | 
						|
	hook_add postmake 5 'gettext_stub_install' | 
						|
else | 
						|
	echo_warning "Not installing gettext-stub! (gettext package detected)" | 
						|
fi
 | 
						|
 |