Add libedit package

This commit is contained in:
Ingo Weinhold
2013-04-27 03:12:50 +02:00
parent b87aa11726
commit 6ff8ef530d
2 changed files with 18 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ OptionalPackageDependencies Development : DevelopmentBase Perl ;
OptionalPackageDependencies GetText : LibIconv ;
OptionalPackageDependencies Git : Expat Curl OpenSSL LibIconv ;
OptionalPackageDependencies ICU-devel : DevelopmentBase ;
OptionalPackageDependencies LibEdit : NCurses ;
OptionalPackageDependencies LibLayout : DevelopmentBase ;
OptionalPackageDependencies Man : Groff ;
OptionalPackageDependencies Tar : LibIconv ;
+17
View File
@@ -40,6 +40,7 @@
# Groff - text formatter used for man pages
# ICU-devel - the headers and lib-links for ICU (for development)
# KeymapSwitcher - Easy to use keymap switcher
# LibEdit - A BSD licensed replacement for GNU readline
# LibEvent - An event notification library
# LibIconv - text encoding conversion library
# LibLayout - GCC2 package needed by some BeOS apps to compile
@@ -779,6 +780,22 @@ if [ IsOptionalHaikuImagePackageAdded KeymapSwitcher ] {
}
# LibEdit
if [ IsOptionalHaikuImagePackageAdded LibEdit ] {
if $(TARGET_ARCH) != x86 {
Echo "No optional package LibEdit available for $(TARGET_ARCH)" ;
} else {
if $(HAIKU_GCC_VERSION[1]) >= 4 {
Echo "No optional package LibEdit available for gcc 4" ;
} else {
InstallOptionalHaikuImagePackage
$(hpkgBaseURL)/libedit-20120601_3.0-2-x86_gcc2.hpkg
: common packages ;
}
}
}
# LibEvent
if [ IsOptionalHaikuImagePackageAdded LibEvent ] {
if $(TARGET_ARCH) != x86 {