Code Monkey home page Code Monkey logo

vdpm's Introduction

Vitadev Package manager

VDPM is a project which aims on getting common libraries building for the PS Vita using the vitasdk toolchain. It was based off the original idea of xerpi's vita_portlibs.

Usage

Getting started

You should make sure you have the patch command installed.

Mac & Linux

First install cmake, you can get this from Homebrew on Mac (brew install cmake), and from your distro's package manager on Linux (on ubuntu: sudo apt-get install cmake).

git clone https://github.com/vitadev/vdpm
cd vdpm
cp config.sample config
./bootstrap-vitasdk.sh # skip this step if you already have vitasdk installed
                       # to /usr/local/vitasdk and have $VITASDK set
export VITASDK=/usr/local/vitasdk # define $VITASDK if you havent already
export PATH=$VITASDK/bin:$PATH # add vitasdk tool to $PATH if you havent already
./install-all.sh

Windows (msys2)

pacman -Syu
pacman -S git
git clone https://github.com/vitadev/vdpm
cd vdpm
cp config.sample config
./bootstrap-vitasdk.sh # skip this step if you already have vitasdk installed
                       # to /usr/local/vitasdk and have $VITASDK set
export VITASDK=/usr/local/vitasdk # define $VITASDK if you havent already
export PATH=$VITASDK/bin:$PATH # add vitasdk tool to $PATH if you havent already
./install-all.sh

vdpm

vdpm helps with building libraries and software from their package description (in pkg/*).

Usage: vdpm [-iudlLx] [pkg pkg ..]
 -x : execute or enter into the vdpm shell
 -u : upgrade package
 -i : install package (.tgz or pkgname)
 -d : deinstall package
 -c : clean package (-ci to clean + install)
 -C : check checksum of pkg files (u=unmodified, m=modified)
 -r : remove devel/man/doc files to _remove/
      -r: list, -ri: reinstall, -rm: remove
 -s : search package by keyword
 -l : list installed packages or pkg files
 -L : list all available packages (-LL for description)
 -f : find missing libraries
      -fi: install, -fl: list, -fd: remove
 -p : patch package
 -P : unpatch package

Config

It requires a config file. For most users cp config.sample config will work fine.

Known Issues

  • The scripts that are used to install the required packages make use of Wget to download the required files. Some of the required files are downloaded from SourceForge which redirects you to one of their mirror sites automatically. Wget handles this by default, however, if you (or your System Administrator) have a Wget Startup File in use it's possible to have settings in that file which will cause the downloads to fail, especially when using redirection from hosts such as SourceForge. If the installation isn't working for you and you notice that it's giving your errors about missing files try temporarily removing/renaming the Wget Startup File to see if that fixes the issue.

Contributing

Contributions are welcome to both the package repo, documentation or the package manager itself.

Packages

The format for packages are as follows.

# required
URL=http://example.com/testpkg-0.3.2.tar.gz # direct source url
TYPE=tar # tar/git
DESC="a test package for vdpm" # short description for the package
# optional
TARGET="libtest.a" # custom target for make
PKGINSTALL="${MAKE} install-libtest.a" # custom install command
USER_CFGARGS="--disable-shared --disable-threadsafe" # configure arguments
CFLAGS="${CFLAGS} -O3" # CFLAGS (must include ${CFLAGS} unless the intention is to replace computed CFLAGS)

They need to be placed in pkg/ with their filename matching the extracted folder/git clone folder of the source.

License

LGPL v2.1 or later.

vdpm's People

Contributors

jdek avatar cpasjuste avatar 173210 avatar hexxellor avatar melon-bread avatar coderobe avatar z1ni avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.