Skip to content

Commit

Permalink
tf: added new package
Browse files Browse the repository at this point in the history
  • Loading branch information
jupo42 committed Oct 6, 2019
1 parent 4b32dae commit 355d4ef
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 0 deletions.
60 changes: 60 additions & 0 deletions tf/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#!/usr/didbs/current/bin/bash
# This is a buildpkg build.sh script
# build.sh helper functions
. ${BUILDPKG_SCRIPTS}/build.sh.functions
#
###########################################################
# Check the following 4 variables before running the script
topdir=tf
version=50b8
pkgver=1
source[0]=https://downloads.sourceforge.net/project/tinyfugue/tinyfugue/5.0%20beta%208/$topdir-$version.tar.gz
# If there are no patches, simply comment this
#patch[0]=

# Source function library
. ${BUILDPKG_SCRIPTS}/buildpkg.functions

# Global settings
shortroot=1

reg prep
prep()
{
generic_prep
}

reg build
build()
{
generic_build
}

reg check
check()
{
generic_check
}

reg install
install()
{
generic_install prefix
}

reg pack
pack()
{
generic_pack
}

reg distclean
distclean()
{
clean distclean
}

###################################################
# No need to look below here
###################################################
build_sh $*
4 changes: 4 additions & 0 deletions tf/meta/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CHANGELOG
---------
* Sat Oct 5 2019 Justin Pope <[email protected]> - 50b8-1
- Initial port
41 changes: 41 additions & 0 deletions tf/meta/pkgdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[common]
pkgname="${pkgprefix}${topdir}"
name="$topdir"
pkgver="$pkgver"
pkgvendor="http://tinyfugue.sourceforge.net/"
shortdesc="screen-oriented MUD client"

[base]
subsys=sw.base
files(-,root,sys)
$_bindir
$_sharedir
$_docdir

[lib]
subsys=sw.lib
files(-,root,sys)
$_libdir/*.so.*

[man]
subsys=man.man
files(-,root,sys)
$_mandir/?a?[12456789]

[mandev]
subsys=man.dev
files(-,root,sys)
$_mandir/?a?3

[info]
subsys=man.info
files(-,root,sys)
$_infodir

[devel]
subsys=sw.dev
files(-,root,sys)
$_includedir
$_libdir/*.so
$_libdir/*.a

27 changes: 27 additions & 0 deletions tf/meta/relnotes
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PACKAGE DETAILS
---------------
Name: %%PKGNAME%%
Version: %%SOURCE_AND_VER%%
Vendor: %%VENDOR%%
Packager: %%PKGEDBY%%

Source (sha1sum):
%%SOURCE_SHA1SUM%%

BUILD DETAILS
-------------
Compiler:
%%COMPILER%%

Environment:
%%ENVIRONMENT%%

Configure:
%%CONFIGURE%%

KNOWN DEPENDENCIES
------------------
%%DEPENDENCIES%%

ERRORS/MISCELLANEOUS
--------------------

0 comments on commit 355d4ef

Please sign in to comment.