CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkgutils: updated to 5.40.3
[ports/orangepipc-arm.git] / libump / Pkgfile
CommitLineData
7e849cd8
VM
1# Description: Unified Memory Provider, userspace library
2# URL: https://github.com/linux-sunxi/libump
3# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5# Depends on:
6
7name=libump
8version=git
9release=1
10source=()
11
12build() {
13 if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then
14 git clone https://github.com/linux-sunxi/libump.git $PKGMK_SOURCE_DIR/$name
15 else
16 cd $PKGMK_SOURCE_DIR/$name && git fetch
17 fi
18 cp -r $PKGMK_SOURCE_DIR/$name $SRC
19
20 mkdir -p $PKG/usr/lib
21
22 cd $SRC/$name
23 autoreconf -i
24 ./configure --prefix=/usr
25 make
26 make DESTDIR=$PKG install
27}