Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#42515 closed submission (fixed)

capstone 2.0 new submission

Reported by: aquynh@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: disassembly framework x86 arm arm64 armv8 aarch64 powerpc mips Cc:
Port: capstone

Description

Capstone is a multi-arch, multi-platform disassembly framework with advanced features.

Further information is available at http://www.capstone-engine.org

Attachments (1)

capstone.tgz (1.2 KB) - added by aquynh@… 5 years ago.
tar ball includes all files inside (Portfiles + patches)

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by aquynh@…

Attachment: capstone.tgz added

tar ball includes all files inside (Portfiles + patches)

comment:1 Changed 5 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: capstone added
Status: newassigned

Thanks.

comment:2 Changed 5 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

Committed in r117077 with these changes:

  • Add the standard modeline and $Id$ line
  • Reformat portfile
  • Remove the revision line
  • Avoid hardcoding the version number in the master_sites
  • Implement livecheck
  • "configure.cmd ./make.sh" doesn't seem right. make.sh doesn't configure; it runs make. So if anything this would be appropriate during the build phase, not the configure phase. However make.sh doesn't seem to do anything special so I didn't use it; I just let MacPorts call make itself.
  • Disable the configure phase using "use_configure no"; this also highlights the need to manually ensure we're UsingTheRightCompiler and -arch flags and add a universal variant
  • Remove patches, which don't seem to be needed
  • Add new Makefile patch with general cleanup and setting the library install_name (current_version and compatibility_version information still needs to be added)
  • Specify prefix at build time so the pkg-config file gets the correct information

comment:3 Changed 5 years ago by ryandesign (Ryan Schmidt)

In my excitement I left the patchfile commented out, so the port got built with the incorrect install_name. Uncommented it and increased the revision in r117078 to rebuild it.

Note: See TracTickets for help on using tickets.