Skip to content

Commit

Permalink
Update packages/deb/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
  • Loading branch information
AndrewQuijano and Rot127 authored Dec 9, 2024
1 parent 68c5351 commit dbed10b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/deb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ This assumes your working directory is in the `packages/deb/` directory.
To build a Debian package for Capstone, run the script, where `<tag-name>` is going to be the version
attached to both the `capstone.pc` file and the Debian package itself. The version is expected to be compliant with Debian versioning (a major/minor/patch), e. g. `5.0.4`. Debian versions can also support values to indicate pre-release, e. g. `6.0.0-Alpha1`.

Note if a value such as `6.0.0-Alpha1` is provided, the major/minor/patch number is extracted for `capstone.pc`, which would have version `6.0.0`, but the Debian package would have the full version name on the control file.
**Note**: if a value such as `6.0.0-Alpha1` is provided, the major/minor/patch number is extracted for `capstone.pc`, which would have version `6.0.0`, but the Debian package would have the full version name on the control file.

**Note**: Currently the package is hard coded to the `amd64` architecture. Independently on what machine you built it. Also see [issue #2537](https://github.com/capstone-engine/capstone/issues/2537).

```bash
./setup.sh <tag-name>
Expand Down

0 comments on commit dbed10b

Please sign in to comment.