links: new package, links 2.12
This commit is contained in:
parent
43544333c3
commit
48cd322557
63
links/build.sh
Executable file
63
links/build.sh
Executable file
@ -0,0 +1,63 @@
|
||||
#!/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=links
|
||||
version=2.12
|
||||
pkgver=1
|
||||
source[0]=http://links.twibright.com/download/$topdir-$version.tar.bz2
|
||||
# If there are no patches, simply comment this
|
||||
#patch[0]=
|
||||
|
||||
# Source function library
|
||||
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
|
||||
|
||||
# Global settings
|
||||
export CPPFLAGS="-I$prefix/include"
|
||||
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
|
||||
export PKG_CONFIG=pkgconf
|
||||
|
||||
reg prep
|
||||
prep()
|
||||
{
|
||||
generic_prep
|
||||
}
|
||||
|
||||
reg build
|
||||
build()
|
||||
{
|
||||
generic_build
|
||||
}
|
||||
|
||||
reg check
|
||||
check()
|
||||
{
|
||||
generic_check
|
||||
}
|
||||
|
||||
reg install
|
||||
install()
|
||||
{
|
||||
generic_install DESTDIR
|
||||
doc AUTHORS COPYING KEYS ChangeLog
|
||||
}
|
||||
|
||||
reg pack
|
||||
pack()
|
||||
{
|
||||
generic_pack
|
||||
}
|
||||
|
||||
reg distclean
|
||||
distclean()
|
||||
{
|
||||
clean distclean
|
||||
}
|
||||
|
||||
###################################################
|
||||
# No need to look below here
|
||||
###################################################
|
||||
build_sh $*
|
4
links/meta/ChangeLog
Normal file
4
links/meta/ChangeLog
Normal file
@ -0,0 +1,4 @@
|
||||
CHANGELOG
|
||||
---------
|
||||
* Sat Mar 05 2016 Tom G. Christensen <swpkg@jupiterrise.com> - 2.12-1
|
||||
- First package
|
12
links/meta/pkgdef
Normal file
12
links/meta/pkgdef
Normal file
@ -0,0 +1,12 @@
|
||||
[links]
|
||||
pkgname="${pkgprefix}${topdir}"
|
||||
name="$topdir - Web browser running in text mode"
|
||||
pkgcat="application"
|
||||
pkgvendor="http://links.twibright.com/"
|
||||
pkgdesc="Web browser running in text mode"
|
||||
pkgver="$pkgver"
|
||||
files(-,root,bin)
|
||||
default_docs
|
||||
$_bindir/links
|
||||
$_mandir/man1/links.1*
|
||||
|
Loading…
x
Reference in New Issue
Block a user