mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:52:45 +00:00 
			
		
		
		
	 492f7132d2
			
		
	
	
		492f7132d2
		
	
	
	
	
		
			
			- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			939 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			939 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/usr/bin/env -S bash ../.port_include.sh
 | |
| port=dmidecode
 | |
| version=3.3
 | |
| useconfigure=false
 | |
| files="https://download.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz dmidecode-${version}.tar.xz
 | |
| https://download.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz.sig dmidecode-${version}.tar.xz.sig
 | |
| https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
 | |
| auth_type="sig"
 | |
| auth_import_key="90DFD6523C57373D81F63D19865688D038F02FC8"
 | |
| auth_opts="--keyring ./gnu-keyring.gpg dmidecode-${version}.tar.xz.sig"
 | |
| 
 | |
| install() {
 | |
|     run make clean
 | |
|     run make
 | |
| }
 | |
| 
 | |
| post_install() {
 | |
|     mkdir -p "${SERENITY_INSTALL_ROOT}/bin"
 | |
|     run make install-bin DESTDIR="${SERENITY_INSTALL_ROOT}"
 | |
|     ln -sf /usr/local/sbin/dmidecode "${SERENITY_INSTALL_ROOT}/bin/dmidecode"
 | |
|     ln -sf /usr/local/sbin/biosdecode "${SERENITY_INSTALL_ROOT}/bin/biosdecode"
 | |
|     ln -sf /usr/local/sbin/vpddecode "${SERENITY_INSTALL_ROOT}/bin/vpddecode"
 | |
| }
 |