moving packages
This commit is contained in:
parent
815c729478
commit
41fc569409
20 changed files with 0 additions and 0 deletions
37
extra/heirloom-doctools/build.sh
Normal file
37
extra/heirloom-doctools/build.sh
Normal file
|
@ -0,0 +1,37 @@
|
|||
pkgver=master
|
||||
pkgname=heirloom-doctools
|
||||
pkgrel=1
|
||||
deps="musl"
|
||||
bad="gmake"
|
||||
ext="doc"
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/n-t-roff/heirloom-doctools/archive/master.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
cd $pkgname-$pkgver
|
||||
cp ../../mk.config .
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure
|
||||
gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install ROOT=$pkgdir
|
||||
rm -r $pkgdir/usr/share
|
||||
}
|
||||
|
||||
package_doc() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install ROOT=$pkgdir
|
||||
rm -r $pkgdir/usr/lib
|
||||
rm -r $pkgdir/usr/bin
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
}
|
109
extra/heirloom-doctools/mk.config
Normal file
109
extra/heirloom-doctools/mk.config
Normal file
|
@ -0,0 +1,109 @@
|
|||
#
|
||||
# A BSD-compatible install command.
|
||||
#
|
||||
INSTALL=install
|
||||
|
||||
#
|
||||
# Packaging prefix.
|
||||
#
|
||||
PREFIX=/usr
|
||||
|
||||
#
|
||||
# Where to place binaries.
|
||||
#
|
||||
BINDIR=$(PREFIX)/bin
|
||||
|
||||
#
|
||||
# Where to place libraries.
|
||||
#
|
||||
LIBDIR=$(PREFIX)/lib
|
||||
|
||||
#
|
||||
# Where to place ASCII charts and the like.
|
||||
#
|
||||
PUBDIR=$(PREFIX)/lib/doctools/pub
|
||||
|
||||
#
|
||||
# Where to place manual pages.
|
||||
#
|
||||
MANDIR=$(PREFIX)/share/man
|
||||
|
||||
#
|
||||
# Where to place the troff macro packages.
|
||||
#
|
||||
MACDIR=$(LIBDIR)/doctools/tmac
|
||||
|
||||
#
|
||||
# Where to place the troff font files.
|
||||
#
|
||||
FNTDIR=$(LIBDIR)/doctools/font
|
||||
|
||||
#
|
||||
# Where to place PostScript helper files.
|
||||
#
|
||||
PSTDIR=$(FNTDIR)/devpost/postscript
|
||||
|
||||
#
|
||||
# Where to place the nroff terminal description files.
|
||||
#
|
||||
TABDIR=$(LIBDIR)/doctools/nterm
|
||||
|
||||
#
|
||||
# Where to place troff hyphenation files.
|
||||
#
|
||||
HYPDIR=$(LIBDIR)/doctools/hyphen
|
||||
|
||||
#
|
||||
# Where to place files belonging to the "refer" utility.
|
||||
#
|
||||
REFDIR=$(LIBDIR)/reftools
|
||||
|
||||
#
|
||||
# Define this if you want troff and nroff to be able to process
|
||||
# locale-specific (8-bit) characters. It requires appropriate support
|
||||
# from the C library, so it does not work e.g. with diet libc.
|
||||
#
|
||||
EUC=-DEUC
|
||||
|
||||
#
|
||||
# Binaries are stripped with this command after installation.
|
||||
#
|
||||
STRIP=strip
|
||||
|
||||
#
|
||||
# The C compiler.
|
||||
#
|
||||
CC=cc
|
||||
|
||||
#
|
||||
# The C++ compiler.
|
||||
#
|
||||
CXX=c++
|
||||
|
||||
#
|
||||
# Compiler flags.
|
||||
#
|
||||
_CFLAGS=$(CFLAGS) $(_CPPFLAGS) $(__CDBG) $(__CLDBG)
|
||||
|
||||
#
|
||||
# C preprocessor flags.
|
||||
#
|
||||
# Use -D_GNU_SOURCE for Linux with GNU libc.
|
||||
# Use -D_INCLUDE__STDC_A1_SOURCE for HP-UX.
|
||||
#
|
||||
_CPPFLAGS=$(CPPFLAGS) -D_GNU_SOURCE
|
||||
|
||||
#
|
||||
# Linker flags.
|
||||
#
|
||||
_LDFLAGS=$(LDFLAGS) $(__CLDBG)
|
||||
|
||||
#
|
||||
# Additional libraries to link with.
|
||||
#
|
||||
#LIBS=
|
||||
|
||||
#
|
||||
# A Bourne-compatible shell.
|
||||
#
|
||||
SHELL=/bin/sh
|
Loading…
Add table
Add a link
Reference in a new issue