I read on the Solus site that Solus make packaging simple with evobuild. So I decided to give it a try. I never packaged anything. Yesterday evening I choose to give a try to the Rust language, so this morning I thought "let's try to package it". I read the tutorial and in few minutes I get a YAML file.
I was impressed by how simple this was ! So I decided to start this thread to review the YAML files of the packaging noobs like me. The goal is to help people new in packaging, ensure the quality of the files, and let the Solus dev add the package when they are ok. I know we can send an e-mail to get the right to publish packages, but for those who start packaging or just want package stuff casually this thread will be useful.
this is my rustc.yml file :
Code: Select all
name : rustc version : 1.7.0 release : 1 homepage : https://www.rust-lang.org/ source : - https://static.rust-lang.org/dist/rustc-1.7.0-src.tar.gz : 6df96059d87b718676d9cd879672e4e22418b6093396b4ccb5b5b66df37bf13a license : Apache-2.0 MIT summary : the rust language compiler builddeps : - clang - python - git - make - curl description: | Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. setup : | ./configure build : | %make install : | %make_install
Here a possible YAML for cargo:
Code: Select all
name : cargo version : 1.7.0 release : 1 homepage : http://doc.crates.io/ source : - https://github.com/rust-lang/cargo/archive/master.zip : ba6b24da9efae073f2885c59b972d9fea84f76858039f2d638d7edaeb8158d08 license : Apache-2.0 MIT summary : the rust language package manager builddeps : - rustc - python - cmake - openssl-devel - curl description: | Cargo downloads your Rust project’s dependencies and compiles your project. setup : | %configure build : | %make install : | %make_install