lots of stuffs
This commit is contained in:
		
							parent
							
								
									9554174f21
								
							
						
					
					
						commit
						422942d6d7
					
				
					 19 changed files with 656 additions and 11 deletions
				
			
		
							
								
								
									
										35
									
								
								pkgs/heirloom-doctools/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								pkgs/heirloom-doctools/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,35 @@ | |||
| pkgver=master | ||||
| pkgname=heirloom-doctools | ||||
| pkgrel=1 | ||||
| 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 | ||||
| 	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
									
								
								pkgs/heirloom-doctools/mk.config
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										109
									
								
								pkgs/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=clang | ||||
| 
 | ||||
| # | ||||
| # The C++ compiler. | ||||
| # | ||||
| CXX=clang++ | ||||
| 
 | ||||
| # | ||||
| # 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