New package: mininet-2.2.1
This commit is contained in:
		
							
								
								
									
										30
									
								
								srcpkgs/mininet/template
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								srcpkgs/mininet/template
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| # Template file for 'mininet' | ||||
| pkgname=mininet | ||||
| version=2.2.1 | ||||
| revision=1 | ||||
| build_style=python-module | ||||
| pycompile_module="mininet" | ||||
| hostmakedepends="help2man python-setuptools" | ||||
| depends="bash inetutils-telnet iperf iputils libcgroup-utils net-tools openvswitch socat" | ||||
| short_desc="Emulator for rapid prototyping of Software Defined Networks" | ||||
| maintainer="Renato Aguiar <contact@renatoaguiar.org>" | ||||
| license="custom" | ||||
| homepage="http://mininet.org/" | ||||
| distfiles="https://github.com/mininet/${pkgname}/archive/${version}.tar.gz" | ||||
| checksum=e4c20a6ab4ddfe4d5cad06ba25742507967df67a845dbe2e90d627af7cd21705 | ||||
|  | ||||
| post_extract() { | ||||
| 	sed -i 's/^\tcc /\t$(CC) /' Makefile | ||||
| } | ||||
|  | ||||
| post_build() { | ||||
| 	make mnexec | ||||
| 	make man | ||||
| } | ||||
|  | ||||
| post_install() { | ||||
| 	vbin mnexec | ||||
| 	vman mn.1 | ||||
| 	vman mnexec.1 | ||||
| 	vlicense LICENSE | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Renato Aguiar
					Renato Aguiar