switch to using bad utility in base packages
This commit is contained in:
		
							parent
							
								
									44f3573897
								
							
						
					
					
						commit
						b2877c4179
					
				
					 9 changed files with 20 additions and 20 deletions
				
			
		|  | @ -17,7 +17,7 @@ fetch(){ | |||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake | ||||
| 	bad --gmake gmake | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
|  | @ -28,7 +28,7 @@ package() { | |||
| 	mkdir -p $pkgdir/etc/ca-certificates/update.d | ||||
| 	mkdir -p $pkgdir/usr/share/ca-certificates/ | ||||
| 	 | ||||
| 	gmake install DESTDIR="$pkgdir" | ||||
| 	bad --gmake gmake install DESTDIR="$pkgdir" | ||||
| 
 | ||||
| 	( | ||||
| 		echo "# Automatically generated by ${pkgname}-${pkgver}-${pkgrel}" | ||||
|  |  | |||
|  | @ -32,14 +32,14 @@ package() { | |||
| 
 | ||||
| package_doc() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake install DESDIR=$pkgdir | ||||
| 	DESDIR=$pkgdir samu install | ||||
| 	rm -r $pkgdir/usr/bin | ||||
| 	rm -r $pkgdir/usr/share/info | ||||
| 	rm -r $pkgdir/usr/include | ||||
| } | ||||
| package_dev() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake install DESTDIR=$pkgdir | ||||
| 	DESTDIR=$pkgdir samu install | ||||
| 	rm -r $pkgdir/usr/bin | ||||
| 	rm -r $pkgdir/usr/share | ||||
| } | ||||
|  |  | |||
|  | @ -14,22 +14,22 @@ fetch() { | |||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	# gmake NO_PERL=1 NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1 | ||||
| 	gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1 | ||||
| 	bad --gmake gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1 | ||||
| 	# Need to run twice for it to work ¯\_(ツ)_/¯ | ||||
| 	# Some issue with `msgfmt` 'cause I'm using gettext-tiny but idk why it works on the second run | ||||
| 	# gmake NO_PERL=1 NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1 | ||||
| 	gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1 | ||||
| 	bad --gmake gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1 | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	# gmake NO_PERL=1 NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install prefix=/usr gitexecdir=lib/gitcore DESTDIR=$pkgdir INSTALL_SYMLINKS=1 | ||||
| 	gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install prefix=/usr gitexecdir=lib/gitcore DESTDIR=$pkgdir INSTALL_SYMLINKS=1 | ||||
| 	bad --gmake gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install prefix=/usr gitexecdir=lib/gitcore DESTDIR=$pkgdir INSTALL_SYMLINKS=1 | ||||
| } | ||||
| 
 | ||||
| package_doc() { | ||||
| 	# gmake NO_PERL=1 NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install-man prefix=/usr DESTDIR=$pkgdir INSTALL_SYMLINKS=1 | ||||
| 	gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install-man prefix=/usr DESTDIR=$pkgdir INSTALL_SYMLINKS=1 | ||||
| 	bad --gmake gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install-man prefix=/usr DESTDIR=$pkgdir INSTALL_SYMLINKS=1 | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ fetch() { | |||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake | ||||
| 	bad --gmake gmake | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
|  |  | |||
|  | @ -11,17 +11,17 @@ fetch() { | |||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	./configure --prefix=/usr | ||||
| 	gmake | ||||
| 	bad --gmake gmake | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake install DESTDIR=$pkgdir | ||||
| 	bad --gmake gmake install DESTDIR=$pkgdir | ||||
| } | ||||
| 
 | ||||
| package_dev() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake install DESTDIR=$pkgdir | ||||
| 	bad --gmake gmake install DESTDIR=$pkgdir | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
|  |  | |||
|  | @ -9,12 +9,12 @@ fetch() { | |||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake prefix=/usr all CC=cc | ||||
| 	bad --gmake gmake prefix=/usr all CC=cc | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake prefix=/usr DESTDIR=$pkgdir install | ||||
| 	bad --gmake gmake prefix=/usr DESTDIR=$pkgdir install | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
|  |  | |||
|  | @ -14,8 +14,8 @@ fetch() { | |||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	CPUS=1 gmake defconfig | ||||
| 	CPUS=1 gmake | ||||
| 	CPUS=1 bad --gmake gmake defconfig | ||||
| 	CPUS=1 bad --gmake gmake | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
|  | @ -27,7 +27,7 @@ package() { | |||
| #	install -d $pkgdir/usr/bin | ||||
| #	ln -sr $pkgdir/bin/toybox $pkgdir/usr/bin/install | ||||
| #	ln -sr $pkgdir/bin/toybox $pkgdir/usr/bin/lspci | ||||
| 	gmake PREFIX=$pkgdir install | ||||
| 	bad --gmake gmake PREFIX=$pkgdir install | ||||
| 
 | ||||
| 	# Provided by NetBSD Curses | ||||
| 	rm $pkgdir/usr/bin/clear | ||||
|  |  | |||
|  | @ -25,7 +25,7 @@ build() { | |||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cd $pkgname | ||||
| 	gmake install DESTDIR=$pkgdir BINDIR=/usr/sbin | ||||
| 	bad --gmake gmake install DESTDIR=$pkgdir BINDIR=/usr/sbin | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
|  |  | |||
|  | @ -9,12 +9,12 @@ fetch() { | |||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 
 | ||||
| 	gmake | ||||
| 	bad --gmake gmake | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake install PREFIX=/usr DESTDIR=$pkgdir | ||||
| 	bad --gmake gmake install PREFIX=/usr DESTDIR=$pkgdir | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue