Skip to content

Commit

Permalink
Merge pull request #1259 from mariux64/xterm-be0-conversion
Browse files Browse the repository at this point in the history
xterm: be0 conversion
  • Loading branch information
wwwutz authored Sep 12, 2019
2 parents c466b76 + 2bc5dcd commit f9228be
Showing 1 changed file with 13 additions and 27 deletions.
40 changes: 13 additions & 27 deletions xterm-303-1.bee → xterm.be0
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/usr/bin/env beesh

# BEE_VERSION xterm-303-2

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)

###############################################################################
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="ftp://invisible-island.net/xterm/xterm-${PKGVERSION}.tgz"
SRCURL[0]="ftp://ftp.invisible-island.net/xterm/${PKGNAME}-${PKGVERSION}.tgz ${PKGNAME}-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
Expand All @@ -16,14 +18,8 @@ SRCURL[0]="ftp://invisible-island.net/xterm/xterm-${PKGVERSION}.tgz"
# PATCHURL+=()

###############################################################################
## Add filename patterns to the EXCLUDE array of files that should not
## be added to you package but may be present in the image directory.

# EXCLUDE+=()

###############################################################################
## Uncomment the next statement, if the software may not be able to be build
## outside the source directory and need to be build inside the source
## Uncomment the next statement, if the software may not be able to be built
## outside the source directory and needs to be built inside the source
## directory.

# build_in_sourcedir
Expand All @@ -36,7 +32,6 @@ SRCURL[0]="ftp://invisible-island.net/xterm/xterm-${PKGVERSION}.tgz"

# sourcesubdir_append src

BEE_CONFIGURE='compat'

###############################################################################
## Change the default (auto-detected) steps to
Expand All @@ -58,11 +53,12 @@ mee_patch_post() {
}

mee_configure() {
TERMINFO=/usr/lib/terminfo \
bee_configure \
--enable-luit \
--enable-wide-chars \
--with-app-defaults=/etc/X11/app-defaults
cd ${S}
./configure \
--prefix=/usr \
--enable-luit \
--enable-wide-chars \
--with-app-defaults=/etc/X11/app-defaults
}

#mee_build() {
Expand All @@ -73,17 +69,7 @@ mee_install() {
bee_install
make install-ti
}

#mee_install_post() {
# cat >> ${D}/etc/X11/app-defaults/XTerm <<- "EOF"
# *VT100*locale: true
# *VT100*faceName: Monospace
# *VT100*faceSize: 10
# *backarrowKeyIsErase: true
# *ptyInitialErase: true
# EOF
#}

## by default this may be 'make install DESTDIR="${D}"'

###############################################################################
##
Expand All @@ -92,7 +78,7 @@ mee_install() {
## The name of this bee-file should follow the following naming convention:
## pkgname-pkgversion-pkgrevision.bee
##
## You may remove all comments as long as SRCURL[0]="" is set.
## You may remove all comments as long as SRCURL[0] is set.
##
## Everything in this file will be executed in a bash environment.
##
Expand Down

0 comments on commit f9228be

Please sign in to comment.