-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile
20 lines (16 loc) · 742 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
PKG_NAME=magictrackpad2-dkms
PKG_VERSION=1.0.0
PKG_DESCRIPTION="Patched BCM-5974 and hid-apple modules from kernel 4.4 for including Magic Trackpad 2 support."
MAINTAINER="robbi5 <[email protected]>"
HOMEPAGE="https://github.com/robbi5/magictrackpad2-dkms"
all:
test -d build || mkdir build
fpm -f -s dir -t deb -n $(PKG_NAME) -v $(PKG_VERSION) -a all -p build/ \
-d dkms -d build-essential -d linux-headers-generic \
-m $(MAINTAINER) --vendor robbi5 --license GPLv2 --description $(PKG_DESCRIPTION) \
--url $(HOMEPAGE) --deb-changelog CHANGELOG \
--post-install scripts/post-install.sh --pre-uninstall scripts/pre-uninstall.sh \
--exclude '.git*' usr/
clean:
rm -f build/$(PKG_NAME)_$(PKG_VERSION)_all.deb